Skip to main content

prelude.bzl

native

Members

MemberDescriptionType

CommandExecutorConfig

(
local_enabled: bool.type,
remote_enabled: bool.type,
*,
remote_cache_enabled: [None, bool.type] = None,
remote_execution_properties: "" = None,
remote_execution_action_key: "" = None,
remote_execution_max_input_files_mebibytes: [None, int.type] = None,
remote_execution_use_case: "" = None,
use_limited_hybrid: bool.type = None,
allow_limited_hybrid_fallbacks: bool.type = None,
allow_hybrid_fallbacks_on_failure: bool.type = None,
use_windows_path_separators: bool.type = None,
allow_cache_uploads: bool.type = None,
max_cache_upload_mebibytes: [None, int.type] = None,
experimental_low_pass_filter: bool.type = None,
remote_output_paths: [None, str.type] = None
) -> ""

ConfigurationInfo

UNKNOWN

ConstraintSettingInfo

UNKNOWN

ConstraintValueInfo

UNKNOWN

DefaultInfo

UNKNOWN

ExecutionPlatformInfo

UNKNOWN

ExecutionPlatformRegistrationInfo

UNKNOWN

ExternalRunnerTestInfo

UNKNOWN

InstallInfo

UNKNOWN

PlatformInfo

UNKNOWN

RunInfo

UNKNOWN

TemplatePlaceholderInfo

UNKNOWN

abs

(
x: int.type
) -> int.type

alias

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
actual: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

android_aar

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
abi_generation_mode: [None, str.type] = None,
annotation_processing_tool: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
build_config_values: [str.type] = None,
build_config_values_file: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
enable_relinker: bool.type = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_kotlinc_arguments: [str.type] = None,
friend_paths: [str.type] = None,
include_build_config_class: bool.type = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
kotlin_compiler_plugins: {str.type: {str.type: str.type}} = None,
labels: [str.type] = None,
language: [None, str.type] = None,
licenses: [str.type] = None,
manifest: [None, str.type] = None,
manifest_file: [None, str.type] = None,
manifest_skeleton: str.type,
maven_coords: [None, str.type] = None,
native_library_merge_code_generator: [None, str.type] = None,
native_library_merge_glue: [None, str.type] = None,
native_library_merge_localized_symbols: [None, [str.type]] = None,
native_library_merge_map: [None, {str.type: [str.type]}] = None,
native_library_merge_sequence: [None, [(str.type, [str.type])]] = None,
native_library_merge_sequence_blocklist: [None, [str.type]] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
provided_deps_query: [None, str.type] = None,
relinker_whitelist: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resource_union_package: [None, str.type] = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
use_jvm_abi_gen: [None, bool.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

android_app_modularity

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
application_module_blacklist: [None, [str.type]] = None,
application_module_configs: {str.type: [str.type]} = None,
application_module_dependencies: [None, {str.type: [str.type]}] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
no_dx: [str.type] = None,
should_include_classes: bool.type = None,
should_include_libraries: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

android_binary

(
cpu_filters: UNKNOWN = None,
**kwargs: UNKNOWN
) -> UNKNOWN

android_build_config

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_build_only_native_code: default_only = None,
_is_building_android_binary: default_only = None,
_java_toolchain: str.type = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
package: str.type = None,
values: [str.type] = None,
values_file: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

android_bundle

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
aapt2_keep_raw_values: bool.type = None,
aapt2_locale_filtering: bool.type = None,
aapt_mode: str.type = None,
additional_aapt_params: [str.type] = None,
allow_r_dot_java_in_secondary_dex: bool.type = None,
allowed_duplicate_resource_types: [str.type] = None,
android_sdk_proguard_config: [None, str.type] = None,
application_module_blacklist: [None, [str.type]] = None,
application_module_configs: {str.type: [str.type]} = None,
application_module_dependencies: [None, {str.type: [str.type]}] = None,
asset_compression_algorithm: [None, str.type] = None,
banned_duplicate_resource_types: [str.type] = None,
build_config_values: [str.type] = None,
build_config_values_file: [None, str.type] = None,
build_string_source_map: bool.type = None,
bundle_config_file: [None, str.type] = None,
compress_asset_libraries: bool.type = None,
contacts: [str.type] = None,
cpu_filters: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
dex_compression: [None, str.type] = None,
dex_group_lib_limit: int.type = None,
dex_tool: str.type = None,
disable_pre_dex: bool.type = None,
duplicate_resource_behavior: str.type = None,
duplicate_resource_whitelist: [None, str.type] = None,
enable_relinker: bool.type = None,
exopackage_modes: [str.type] = None,
extra_filtered_resources: [str.type] = None,
field_ref_count_buffer_space: int.type = None,
ignore_aapt_proguard_config: bool.type = None,
includes_vector_drawables: bool.type = None,
is_cacheable: bool.type = None,
is_voltron_language_pack_enabled: bool.type = None,
keystore: str.type,
labels: [str.type] = None,
licenses: [str.type] = None,
linear_alloc_hard_limit: int.type = None,
locales: [str.type] = None,
manifest: [None, str.type] = None,
manifest_entries: {str.type: ""} = None,
manifest_skeleton: [None, str.type] = None,
method_ref_count_buffer_space: int.type = None,
minimize_primary_dex_size: bool.type = None,
module_manifest_skeleton: [None, str.type] = None,
native_library_merge_code_generator: [None, str.type] = None,
native_library_merge_glue: [None, str.type] = None,
native_library_merge_localized_symbols: [None, [str.type]] = None,
native_library_merge_map: [None, {str.type: [str.type]}] = None,
native_library_merge_sequence: [None, [(str.type, [str.type])]] = None,
native_library_merge_sequence_blocklist: [None, [str.type]] = None,
no_auto_add_overlay_resources: bool.type = None,
no_auto_version_resources: bool.type = None,
no_dx: [str.type] = None,
no_version_transitions_resources: bool.type = None,
optimization_passes: int.type = None,
package_asset_libraries: bool.type = None,
package_type: str.type = None,
packaged_locales: [str.type] = None,
post_filter_resources_cmd: [None, str.type] = None,
preprocess_java_classes_bash: [None, str.type] = None,
preprocess_java_classes_cmd: [None, str.type] = None,
preprocess_java_classes_deps: [str.type] = None,
primary_dex_patterns: [str.type] = None,
proguard_config: [None, str.type] = None,
proguard_jvm_args: [str.type] = None,
relinker_whitelist: [str.type] = None,
resource_compression: str.type = None,
resource_filter: [str.type] = None,
resource_stable_ids: [None, str.type] = None,
resource_union_package: [None, str.type] = None,
secondary_dex_weight_limit: [None, int.type] = None,
skip_crunch_pngs: [None, bool.type] = None,
skip_proguard: bool.type = None,
trim_resource_ids: bool.type = None,
use_split_dex: bool.type = None,
within_view: [None, [None, [str.type]]] = None,
xz_compression_level: int.type = None
) -> None

android_instrumentation_apk

(
cpu_filters: UNKNOWN = None,
**kwargs: UNKNOWN
) -> UNKNOWN

android_instrumentation_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_inject_test_env: default_only = None,
_java_toolchain: str.type = None,
apk: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
env: {str.type: str.type} = None,
labels: [str.type] = None,
licenses: [str.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

android_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_build_only_native_code: default_only = None,
_dex_min_sdk_version: default_only = None,
_dex_toolchain: str.type = None,
_is_building_android_binary: default_only = None,
_java_toolchain: str.type = None,
_kotlin_toolchain: str.type = None,
abi_generation_mode: [None, str.type] = None,
annotation_processing_tool: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_kotlinc_arguments: [str.type] = None,
friend_paths: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
kotlin_compiler_plugins: {str.type: {str.type: str.type}} = None,
labels: [str.type] = None,
language: [None, str.type] = None,
licenses: [str.type] = None,
manifest: [None, str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
provided_deps_query: [None, str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resource_union_package: [None, str.type] = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
use_jvm_abi_gen: [None, bool.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

android_manifest

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
skeleton: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

android_platform

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
base_platform: str.type,
native_platforms: {str.type: str.type} = None,
within_view: [None, [None, [str.type]]] = None
) -> None

android_prebuilt_aar

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_build_only_native_code: default_only = None,
_dex_min_sdk_version: default_only = None,
_dex_toolchain: str.type = None,
_java_toolchain: str.type = None,
aar: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
javadoc_url: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
maven_coords: [None, str.type] = None,
required_for_source_only_abi: bool.type = None,
source_jar: [None, str.type] = None,
use_system_library_loader: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

android_resource

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_build_only_native_code: default_only = None,
allowlisted_locales: [None, [str.type]] = None,
assets: [None, [str.type, {str.type: str.type}]] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
has_whitelisted_strings: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest: [None, str.type] = None,
package: [None, str.type] = None,
project_assets: [None, str.type] = None,
project_res: [None, str.type] = None,
res: [None, [str.type, {str.type: str.type}]] = None,
resource_union: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

apk_genrule

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
aab: [None, str.type] = None,
apk: [None, str.type] = None,
bash: [None, str.type] = None,
cacheable: [None, bool.type] = None,
cmd: [None, str.type] = None,
cmd_exe: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
enable_sandbox: [None, bool.type] = None,
environment_expansion_separator: [None, str.type] = None,
is_cacheable: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
need_android_tools: bool.type = None,
out: [None, str.type] = None,
remote: [None, bool.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
type: str.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

apple_asset_catalog

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
app_icon: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
dirs: [str.type] = None,
labels: [str.type] = None,
launch_image: [None, str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

apple_binary

(
**kwargs: UNKNOWN
) -> UNKNOWN

apple_bundle

(
**kwargs: UNKNOWN
) -> UNKNOWN

apple_library

(
**kwargs: UNKNOWN
) -> UNKNOWN

apple_package

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
bundle: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
need_android_tools: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

apple_resource

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
codesign_on_copy: bool.type = None,
contacts: [str.type] = None,
content_dirs: [str.type] = None,
default_host_platform: [None, str.type] = None,
destination: [None, str.type] = None,
dirs: [str.type] = None,
files: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
named_variants: {str.type: [str.type]} = None,
resources_from_deps: [str.type] = None,
variants: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

apple_resource_bundle

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_apple_toolchain: str.type = None,
_apple_tools: str.type = None,
_bundle_target_name: str.type,
_compile_resources_locally_override: [None, bool.type] = None,
asset_catalogs_compilation_options: {str.type: ""} = None,
binary: [None, str.type] = None,
deps: [str.type] = None,
extension: [str.type, str.type],
ibtool_flags: [None, [str.type]] = None,
ibtool_module_flag: [None, bool.type] = None,
info_plist: str.type,
info_plist_substitutions: {str.type: str.type} = None,
product_name: [None, str.type] = None,
resource_group: [None, str.type] = None,
resource_group_map: [None, [str.type, [(str.type, [(str.type, str.type, [None, str.type])])]]] = None
) -> None

apple_test

(
**kwargs: UNKNOWN
) -> UNKNOWN

apple_toolchain

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_internal_platform_path: [None, str.type] = None,
_internal_sdk_path: [None, str.type] = None,
actool: str.type,
architecture: str.type = None,
build_version: [None, str.type] = None,
codesign: str.type,
codesign_allocate: str.type,
codesign_identities_command: [None, str.type] = None,
compile_resources_locally: bool.type = None,
contacts: [str.type] = None,
copy_scene_kit_assets: [None, str.type] = None,
cxx_toolchain: str.type,
default_host_platform: [None, str.type] = None,
developer_path: [None, str.type] = None,
dsymutil: str.type,
dwarfdump: [None, str.type] = None,
ibtool: str.type,
installer: default_only = None,
labels: [str.type] = None,
libtool: str.type,
licenses: [str.type] = None,
lipo: str.type,
min_version: [None, str.type] = None,
momc: str.type,
platform_path: [None, str.type] = None,
requires_xcode_version_match: bool.type = None,
sdk_environment: [None, str.type] = None,
sdk_name: str.type = None,
sdk_path: [None, str.type] = None,
swift_toolchain: [None, str.type] = None,
version: [None, str.type] = None,
watch_kit_stub_binary: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None,
work_around_dsymutil_lto_stack_overflow_bug: [None, bool.type] = None,
xcode_build_version: [None, str.type] = None,
xcode_version: [None, str.type] = None,
xctest: str.type
) -> None

apple_toolchain_override

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
base: str.type,
cxx_toolchain: str.type
) -> None

apple_toolchain_set

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
apple_toolchains: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

apple_tools

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
assemble_bundle: str.type,
info_plist_processor: str.type,
make_modulemap: str.type,
make_vfsoverlay: str.type,
swift_objc_header_postprocess: str.type
) -> None

apple_watchos_bundle

(
**kwargs: UNKNOWN
) -> UNKNOWN

attrs

UNKNOWN

breakpoint

() -> None

cgo_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_go_toolchain: default_only = None,
cgo_compiler_flags: [str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
devirt_enabled: bool.type = None,
embedcfg: [None, str.type] = None,
executable_name: [None, str.type] = None,
exported_deps: [str.type] = None,
fat_lto: bool.type = None,
focused_list_target: [None, str.type] = None,
frameworks: [str.type] = None,
go_assembler_flags: [str.type] = None,
go_compiler_flags: [str.type] = None,
go_srcs: [str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
link_deps_query_whole: bool.type = None,
link_group: [None, str.type] = None,
link_group_map: [None, [(str.type, [(str.type, str.type, [None, str.type])])]] = None,
link_style: [None, str.type] = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
package_name: [None, str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
prefer_stripped_objects: bool.type = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
raw_headers: [str.type] = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
thin_lto: bool.type = None,
version_universe: [None, str.type] = None,
weak_framework_names: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

cmd_args

(
*args: UNKNOWN,
delimiter: [None, str.type] = None,
format: [None, str.type] = None,
prepend: [None, str.type] = None,
quote: [None, str.type] = None
) -> "cmd_args"

command_alias

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_exec_os_type: default_only = None,
_find_and_replace_bat: default_only = None,
_target_os_type: default_only = None,
args: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
env: {str.type: str.type} = None,
exe: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
platform_exe: {str.type: str.type} = None,
resources: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

config_setting

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
constraint_values: [str.type] = None,
values: {str.type: str.type} = None,
within_view: [None, [None, [str.type]]] = None
) -> None

configured_alias

(
name: UNKNOWN,
actual: UNKNOWN,
platform: UNKNOWN,
fallback_to_unconfigured_alias: UNKNOWN = False,
**kwargs: UNKNOWN
) -> UNKNOWN

constraint_setting

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

constraint_value

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
constraint_setting: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

core_data_model

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
path: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

csharp_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [[str.type, str.type]] = None,
dll_name: str.type = None,
framework_ver: str.type,
labels: [str.type] = None,
licenses: [str.type] = None,
resources: {str.type: str.type} = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

cxx

UNKNOWN

cxx_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_hacks: str.type = None,
_cxx_toolchain: default_only = None,
allow_huge_dwp: bool.type = None,
auto_link_groups: bool.type = None,
binary_linker_flags: [str.type] = None,
bolt_flags: [str.type] = None,
bolt_gdb_index: [None, str.type] = None,
bolt_profile: [None, str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
devirt_enabled: bool.type = None,
enable_distributed_thinlto: bool.type = None,
executable_name: [None, str.type] = None,
fat_lto: bool.type = None,
focused_list_target: [None, str.type] = None,
frameworks: [str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
link_deps_query_whole: bool.type = None,
link_group: [None, str.type] = None,
link_group_map: [None, [str.type, [(str.type, [([None, str.type], str.type, [None, str.type], [None, str.type])])]]] = None,
link_style: [None, str.type] = None,
link_whole: default_only = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
prefer_stripped_objects: bool.type = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
raw_headers: [str.type] = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
thin_lto: bool.type = None,
version_universe: [None, str.type] = None,
weak_framework_names: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

cxx_genrule

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_exec_os_type: default_only = None,
bash: [None, str.type] = None,
cacheable: [None, bool.type] = None,
cmd: [None, str.type] = None,
cmd_exe: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
default_outs: [None, [str.type]] = None,
enable_sandbox: [None, bool.type] = None,
environment_expansion_separator: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
need_android_tools: bool.type = None,
out: [None, str.type] = None,
outs: [None, {str.type: [str.type]}] = None,
remote: [None, bool.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
type: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

cxx_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_hacks: default_only = None,
_cxx_toolchain: default_only = None,
_is_building_android_binary: default_only = None,
_omnibus_environment: [None, str.type] = None,
allow_huge_dwp: bool.type = None,
auto_link_groups: bool.type = None,
bridging_header: [None, str.type] = None,
can_be_asset: [None, bool.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
devirt_enabled: bool.type = None,
diagnostics: {str.type: str.type} = None,
executable_name: [None, str.type] = None,
exported_deps: [str.type] = None,
exported_header_style: str.type = None,
exported_headers: [{str.type: str.type}, [str.type]] = None,
exported_lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
exported_lang_preprocessor_flags: {str.type: [str.type]} = None,
exported_linker_flags: [str.type] = None,
exported_platform_deps: [(str.type, [str.type])] = None,
exported_platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
exported_platform_linker_flags: [(str.type, [str.type])] = None,
exported_platform_preprocessor_flags: [(str.type, [str.type])] = None,
exported_post_linker_flags: [str.type] = None,
exported_post_platform_linker_flags: [(str.type, [str.type])] = None,
exported_preprocessor_flags: [str.type] = None,
extra_xcode_files: [str.type] = None,
extra_xcode_sources: [str.type] = None,
fat_lto: bool.type = None,
focused_list_target: [None, str.type] = None,
force_emit_omnibus_shared_root: bool.type = None,
force_static: [None, bool.type] = None,
frameworks: [str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
include_in_android_merge_map_output: bool.type = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
link_deps_query_whole: bool.type = None,
link_group: [None, str.type] = None,
link_group_map: [None, [str.type, [(str.type, [([None, str.type], str.type, [None, str.type], [None, str.type])])]]] = None,
link_style: [None, str.type] = None,
link_whole: [None, bool.type] = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
module_name: [None, str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
prefer_stripped_objects: bool.type = None,
preferred_linkage: str.type = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
public_include_directories: [str.type] = None,
public_system_include_directories: [str.type] = None,
raw_headers: [str.type] = None,
reexport_all_header_dependencies: [None, bool.type] = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
sdk_modules: [str.type] = None,
soname: [None, str.type] = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
static_library_basename: [None, str.type] = None,
supported_platforms_regex: [None, str.type] = None,
supports_merged_linking: [None, bool.type] = None,
supports_python_dlopen: [None, bool.type] = None,
thin_lto: bool.type = None,
use_archive: [None, bool.type] = None,
used_by_wrap_script: bool.type = None,
uses_cxx_explicit_modules: bool.type = None,
uses_explicit_modules: bool.type = None,
version_universe: [None, str.type] = None,
weak_framework_names: [str.type] = None,
within_view: [None, [None, [str.type]]] = None,
xcode_private_headers_symlinks: [None, bool.type] = None,
xcode_public_headers_symlinks: [None, bool.type] = None
) -> None

cxx_lua_extension

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
base_module: [None, str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
executable_name: [None, str.type] = None,
frameworks: [str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
raw_headers: [str.type] = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
version_universe: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

cxx_precompiled_header

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
src: str.type,
version_universe: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

cxx_python_extension

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_hacks: default_only = None,
_cxx_toolchain: default_only = None,
_omnibus_environment: [None, str.type] = None,
_python_toolchain: default_only = None,
allow_embedding: bool.type = None,
allow_huge_dwp: bool.type = None,
allow_suffixing: bool.type = None,
auto_link_groups: bool.type = None,
base_module: [None, str.type] = None,
bridging_header: default_only = None,
can_be_asset: default_only = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
devirt_enabled: default_only = None,
diagnostics: default_only = None,
executable_name: [None, str.type] = None,
exported_deps: default_only = None,
exported_header_style: default_only = None,
exported_headers: default_only = None,
exported_lang_platform_preprocessor_flags: default_only = None,
exported_lang_preprocessor_flags: default_only = None,
exported_linker_flags: default_only = None,
exported_platform_deps: default_only = None,
exported_platform_headers: default_only = None,
exported_platform_linker_flags: default_only = None,
exported_platform_preprocessor_flags: default_only = None,
exported_post_linker_flags: default_only = None,
exported_post_platform_linker_flags: default_only = None,
exported_preprocessor_flags: default_only = None,
extra_xcode_files: default_only = None,
extra_xcode_sources: default_only = None,
fat_lto: default_only = None,
focused_list_target: default_only = None,
force_static: default_only = None,
frameworks: [str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
include_in_android_merge_map_output: default_only = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
link_group: default_only = None,
link_group_map: default_only = None,
link_style: [None, str.type] = None,
link_whole: default_only = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
module_name: [None, str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
preferred_linkage: default_only = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
public_include_directories: default_only = None,
public_system_include_directories: default_only = None,
raw_headers: [str.type] = None,
reexport_all_header_dependencies: default_only = None,
resources: default_only = None,
sdk_modules: default_only = None,
soname: default_only = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
static_library_basename: default_only = None,
suffix_all: bool.type = None,
supported_platforms_regex: default_only = None,
supports_merged_linking: default_only = None,
thin_lto: default_only = None,
type_stub: [None, str.type] = None,
use_archive: default_only = None,
used_by_wrap_script: default_only = None,
uses_cxx_explicit_modules: default_only = None,
uses_explicit_modules: default_only = None,
version_universe: [None, str.type] = None,
weak_framework_names: default_only = None,
within_view: [None, [None, [str.type]]] = None,
xcode_private_headers_symlinks: default_only = None,
xcode_public_headers_symlinks: default_only = None
) -> None

cxx_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_hacks: str.type = None,
_cxx_toolchain: default_only = None,
_inject_test_env: default_only = None,
additional_coverage_targets: [str.type] = None,
allow_huge_dwp: bool.type = None,
args: [str.type] = None,
auto_link_groups: bool.type = None,
binary_linker_flags: [str.type] = None,
bolt_flags: [str.type] = None,
bolt_gdb_index: [None, str.type] = None,
bolt_profile: [None, str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
devirt_enabled: bool.type = None,
enable_distributed_thinlto: bool.type = None,
env: {str.type: str.type} = None,
executable_name: [None, str.type] = None,
fat_lto: bool.type = None,
focused_list_target: [None, str.type] = None,
framework: [None, str.type] = None,
frameworks: [str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
link_deps_query_whole: bool.type = None,
link_group: [None, str.type] = None,
link_group_map: [None, [str.type, [(str.type, [([None, str.type], str.type, [None, str.type], [None, str.type])])]]] = None,
link_style: [None, str.type] = None,
link_whole: default_only = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
prefer_stripped_objects: bool.type = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
raw_headers: [str.type] = None,
remote_execution: [None, {str.type: str.type}] = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
run_test_separately: [None, bool.type] = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
test_rule_timeout_ms: [None, int.type] = None,
thin_lto: bool.type = None,
use_default_test_main: [None, bool.type] = None,
version_universe: [None, str.type] = None,
weak_framework_names: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

cxx_toolchain

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_dep_files_processor: str.type = None,
_dist_lto_tools: default_only = None,
_mk_comp_db: default_only = None,
_mk_hmap: default_only = None,
_msvc_hermetic_exec: default_only = None,
archive_contents: str.type = None,
archiver: str.type,
archiver_flags: [str.type] = None,
archiver_supports_argfiles: bool.type = None,
archiver_type: str.type,
asm_compiler: [None, str.type] = None,
asm_compiler_flags: [str.type] = None,
asm_compiler_type: [None, str.type] = None,
asm_preprocessor: [None, str.type] = None,
asm_preprocessor_flags: [str.type] = None,
asm_preprocessor_type: [None, str.type] = None,
assembler: str.type,
assembler_flags: [str.type] = None,
assembler_preprocessor: [None, str.type] = None,
assembler_preprocessor_flags: [str.type] = None,
assembler_preprocessor_type: [None, str.type] = None,
assembler_type: [None, str.type] = None,
binary_extension: [None, str.type] = None,
bolt_enabled: bool.type = None,
c_compiler: str.type,
c_compiler_flags: [str.type] = None,
c_compiler_type: [None, str.type] = None,
c_preprocessor_flags: [str.type] = None,
cache_links: bool.type = None,
compiler_type: [None, str.type] = None,
conflicting_header_basename_exemptions: [str.type] = None,
contacts: [str.type] = None,
cuda_compiler: [None, str.type] = None,
cuda_compiler_flags: [str.type] = None,
cuda_compiler_type: [None, str.type] = None,
cuda_preprocessor_flags: [str.type] = None,
cxx_compiler: str.type,
cxx_compiler_flags: [str.type] = None,
cxx_compiler_type: [None, str.type] = None,
cxx_preprocessor_flags: [str.type] = None,
debug_path_prefix_map_sanitizer_format: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
detailed_untracked_header_messages: bool.type = None,
filepath_length_limited: bool.type = None,
headers_as_raw_headers_mode: [None, str.type] = None,
headers_whitelist: [str.type] = None,
hip_compiler: [None, str.type] = None,
hip_compiler_flags: [str.type] = None,
hip_compiler_type: [None, str.type] = None,
hip_preprocessor_flags: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_ordering: str.type = None,
link_path_normalization_args_enabled: bool.type = None,
linker: str.type,
linker_flags: [str.type] = None,
linker_type: str.type,
nm: str.type,
objcopy_for_shared_library_interface: str.type,
objcopy_recalculates_layout: bool.type = None,
object_file_extension: str.type = None,
pic_type_for_shared_linking: str.type = None,
platform_name: [None, str.type] = None,
private_headers_symlinks_enabled: bool.type = None,
public_headers_symlinks_enabled: bool.type = None,
ranlib: [None, str.type] = None,
ranlib_flags: [str.type] = None,
requires_archives: bool.type = None,
requires_objects: bool.type = None,
shared_dep_runtime_ld_flags: [str.type] = None,
shared_library_extension: str.type = None,
shared_library_interface_flags: [str.type] = None,
shared_library_interface_type: str.type,
shared_library_versioned_extension_format: str.type = None,
split_debug_mode: str.type = None,
static_dep_runtime_ld_flags: [str.type] = None,
static_library_extension: str.type = None,
static_pic_dep_runtime_ld_flags: [str.type] = None,
strip: str.type,
strip_all_flags: [None, [str.type]] = None,
strip_debug_flags: [None, [str.type]] = None,
strip_non_global_flags: [None, [str.type]] = None,
supports_distributed_thinlto: bool.type = None,
use_archiver_flags: bool.type = None,
use_arg_file: bool.type = None,
use_dep_files: [None, bool.type] = None,
use_header_map: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

d_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

d_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

d_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
test_rule_timeout_ms: [None, int.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

debug

Print the value with full debug formatting. The result may not be stable over time, mostly intended for debugging purposes.

(
val: ""
) -> str.type

enum

(
*args: UNKNOWN
) -> ""

erlang_app

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_toolchain: str.type = None,
app_src: [None, str.type] = None,
applications: [str.type] = None,
build_edoc_chunks: bool.type = None,
contacts: [str.type] = None,
erl_opts: [None, [str.type]] = None,
extra_includes: [str.type] = None,
included_applications: [str.type] = None,
includes: [str.type] = None,
labels: [str.type] = None,
mod: [None, (str.type, [str.type])] = None,
resources: [str.type] = None,
shell_configs: [str.type] = None,
shell_libs: [str.type] = None,
srcs: [str.type] = None,
use_global_parse_transforms: bool.type = None,
version: str.type = None
) -> None

erlang_app_includes

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_toolchain: str.type = None,
application_name: str.type,
contacts: [str.type] = None,
includes: [str.type] = None,
labels: [str.type] = None
) -> None

erlang_application

(
**kwargs: UNKNOWN
) -> UNKNOWN

erlang_escript

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_toolchain: str.type = None,
contacts: [str.type] = None,
deps: [str.type],
emu_args: [str.type] = None,
include_priv: bool.type = None,
labels: [str.type] = None,
main_module: [None, str.type] = None,
resources: [str.type] = None,
script_name: [None, str.type] = None
) -> None

erlang_otp_binaries

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
erl: str.type,
erlc: str.type,
escript: str.type,
labels: [str.type] = None
) -> None

erlang_rebar3_interface

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None
) -> None

erlang_release

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_toolchain: str.type = None,
applications: [[str.type, (str.type, str.type)]],
contacts: [str.type] = None,
include_erts: bool.type = None,
labels: [str.type] = None,
multi_toolchain: [None, [str.type]] = None,
overlays: {str.type: [str.type]} = None,
release_name: [None, str.type] = None,
version: str.type = None
) -> None

erlang_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cli_lib: str.type = None,
_ct_opts: str.type = None,
_providers: str.type,
_test_binary: str.type = None,
_test_binary_lib: str.type = None,
_toolchain: str.type = None,
_trampoline: [None, str.type] = None,
config_files: [str.type] = None,
contacts: [str.type] = None,
deps: [str.type] = None,
env: {str.type: str.type} = None,
extra_ct_hooks: [str.type] = None,
labels: [str.type] = None,
property_tests: [str.type] = None,
resources: [str.type] = None,
shell_configs: [str.type] = None,
shell_libs: [str.type] = None,
suite: str.type
) -> None

erlang_tests

(
**kwargs: UNKNOWN
) -> UNKNOWN

experimental_regex

Creates a regex which can be used for matching

(
regex: str.type
) -> "regex"

export_file

(
name: UNKNOWN,
src: UNKNOWN = None,
**kwargs: UNKNOWN
) -> UNKNOWN

external_test_runner

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
binary: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

extract_archive

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contents_archive: str.type,
directory_name: [None, str.type] = None
) -> None

field

Creates a field record.

(
typ: "",
default: [None, ""] = None
) -> "field"

filegroup

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

filter

(
func: "",
seq: iter("")
) -> [""]

gen_aidl

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_java_toolchain: str.type = None,
aidl: str.type,
aidl_srcs: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
import_path: str.type = None,
import_paths: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

genrule

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_exec_os_type: default_only = None,
bash: [None, str.type] = None,
cacheable: [None, bool.type] = None,
cmd: [None, str.type] = None,
cmd_exe: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
default_outs: [None, [str.type]] = None,
enable_sandbox: [None, bool.type] = None,
env: {str.type: str.type} = None,
environment_expansion_separator: [None, str.type] = None,
executable: [None, bool.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
need_android_tools: bool.type = None,
out: [None, str.type] = None,
outs: [None, {str.type: [str.type]}] = None,
remote: [None, bool.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
type: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

get_base_path

() -> str.type

get_cell_name

() -> str.type

glob

(
include: [str.type],
*,
exclude: [None, [str.type]] = None
) -> ""

go_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_go_toolchain: default_only = None,
assembler_flags: [str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
embedcfg: [None, str.type] = None,
external_linker_flags: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_mode: [None, str.type] = None,
link_style: [None, str.type] = None,
linker_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_external_linker_flags: [(str.type, [str.type])] = None,
resources: [[str.type, str.type]] = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

go_exported_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
assembler_flags: [str.type] = None,
build_mode: str.type,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
external_linker_flags: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_mode: [None, str.type] = None,
link_style: [None, str.type] = None,
linker_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_external_linker_flags: [(str.type, [str.type])] = None,
resources: [str.type] = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

go_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_go_toolchain: default_only = None,
assembler_flags: [str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
embedcfg: [None, str.type] = None,
exported_deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
package_name: [None, str.type] = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

go_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_go_toolchain: default_only = None,
_inject_test_env: default_only = None,
_testmaingen: default_only = None,
assembler_flags: [str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
coverage_mode: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
embedcfg: [None, str.type] = None,
env: {str.type: str.type} = None,
external_linker_flags: [str.type] = None,
labels: [str.type] = None,
library: [None, str.type] = None,
licenses: [str.type] = None,
link_mode: [None, str.type] = None,
link_style: [None, str.type] = None,
linker_flags: [str.type] = None,
package_name: [None, str.type] = None,
platform: [None, str.type] = None,
resources: [str.type] = None,
run_test_separately: bool.type = None,
runner: [None, str.type] = None,
specs: [None, str.type] = None,
srcs: [str.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

go_test_runner

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
test_runner_generator: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

groovy_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_groovyc_arguments: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

groovy_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
cxx_library_whitelist: [str.type] = None,
default_cxx_platform: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
env: {str.type: str.type} = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_groovyc_arguments: [str.type] = None,
fork_mode: str.type = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
run_test_separately: bool.type = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
std_err_log_level: [None, [str.type, int.type]] = None,
std_out_log_level: [None, [str.type, int.type]] = None,
target: [None, str.type] = None,
test_case_timeout_ms: [None, int.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
test_type: [None, str.type] = None,
use_cxx_libraries: [None, bool.type] = None,
use_dependency_order_classpath: [None, bool.type] = None,
vm_args: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

gwt_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
draft_compile: [None, bool.type] = None,
experimental_args: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
local_workers: [None, int.type] = None,
module_deps: [str.type] = None,
modules: [str.type] = None,
optimize: [None, int.type] = None,
strict: [None, bool.type] = None,
style: [None, str.type] = None,
vm_args: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

halide_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
compiler_deps: [str.type] = None,
compiler_flags: [str.type] = None,
compiler_invocation_flags: [str.type] = None,
configs: {str.type: {str.type: str.type}} = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
devirt_enabled: bool.type = None,
executable_name: [None, str.type] = None,
fat_lto: bool.type = None,
focused_list_target: [None, str.type] = None,
frameworks: [str.type] = None,
function_name: [None, str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
link_deps_query_whole: bool.type = None,
link_group: [None, str.type] = None,
link_group_map: [None, [(str.type, [(str.type, str.type, [None, str.type])])]] = None,
link_style: [None, str.type] = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
prefer_stripped_objects: bool.type = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
raw_headers: [str.type] = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
supported_platforms_regex: [None, str.type] = None,
thin_lto: bool.type = None,
version_universe: [None, str.type] = None,
weak_framework_names: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

haskell_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_haskell_toolchain: default_only = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
enable_profiling: bool.type = None,
ghci_platform_preload_deps: [(str.type, [str.type])] = None,
ghci_preload_deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_deps_query_whole: bool.type = None,
link_style: [None, str.type] = None,
linker_flags: [str.type] = None,
main: [None, str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
template_deps: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

haskell_ghci

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
enable_profiling: bool.type = None,
extra_script_templates: [str.type] = None,
ghci_bin_dep: [None, str.type] = None,
ghci_init: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_preload_deps: [(str.type, [str.type])] = None,
preload_deps: [str.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

haskell_haddock

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
haddock_flags: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
platform: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

haskell_ide

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_haskell_toolchain: default_only = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
extra_script_templates: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_style: str.type,
linker_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

haskell_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_haskell_toolchain: default_only = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
enable_profiling: bool.type = None,
ghci_platform_preload_deps: [(str.type, [str.type])] = None,
ghci_preload_deps: [str.type] = None,
haddock_flags: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_whole: bool.type = None,
linker_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
preferred_linkage: str.type = None,
srcs: [{str.type: str.type}, [str.type]] = None,
template_deps: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

haskell_prebuilt_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
cxx_header_dirs: [str.type] = None,
db: str.type,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
enable_profiling: bool.type = None,
exported_compiler_flags: [str.type] = None,
exported_linker_flags: [str.type] = None,
id: str.type = None,
import_dirs: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
pic_profiled_static_libs: [str.type] = None,
pic_static_libs: [str.type] = None,
profiled_static_libs: [str.type] = None,
shared_libs: {str.type: str.type} = None,
static_libs: [str.type] = None,
version: str.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

host_info

() -> ""

http_archive

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_create_exclusion_list: default_only = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
excludes: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
out: [None, str.type] = None,
sha1: [None, str.type] = None,
sha256: [None, str.type] = None,
strip_prefix: [None, str.type] = None,
type: [None, str.type] = None,
urls: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

http_file

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
executable: [None, bool.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
out: [None, str.type] = None,
sha1: [None, str.type] = None,
sha256: [None, str.type] = None,
urls: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

implicit_package_symbol

(
name: str.type,
default: [None, ""] = None
) -> ""

jar_genrule

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_java_toolchain: str.type = None,
bash: [None, str.type] = None,
cacheable: [None, bool.type] = None,
cmd: [None, str.type] = None,
cmd_exe: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
enable_sandbox: [None, bool.type] = None,
environment_expansion_separator: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
need_android_tools: bool.type = None,
remote: [None, bool.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
type: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

java_annotation_processor

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
does_not_affect_abi: bool.type = None,
isolate_class_loader: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
processor_class: str.type = None,
supports_abi_generation_from_source: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

java_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
_java_toolchain: str.type = None,
blacklist: [str.type] = None,
contacts: [str.type] = None,
default_cxx_platform: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
generate_wrapper: bool.type = None,
java_args_for_run_info: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
main_class: [None, str.type] = None,
manifest_file: [None, str.type] = None,
meta_inf_directory: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

java_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
_dex_min_sdk_version: [None, int.type] = None,
_dex_toolchain: [None, str.type] = None,
_is_building_android_binary: default_only = None,
_java_toolchain: str.type = None,
abi_generation_mode: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, [str.type, str.type]] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

java_plugin

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
does_not_affect_abi: bool.type = None,
isolate_class_loader: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
plugin_name: str.type = None,
supports_abi_generation_from_source: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

java_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
_inject_test_env: default_only = None,
_is_building_android_binary: default_only = None,
_java_test_toolchain: str.type = None,
_java_toolchain: str.type = None,
abi_generation_mode: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
cxx_library_whitelist: [str.type] = None,
default_cxx_platform: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
env: {str.type: str.type} = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
fork_mode: str.type = None,
java_version: [None, str.type] = None,
javac: [None, [str.type, str.type]] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
run_test_separately: bool.type = None,
runner: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
specs: [None, str.type] = None,
srcs: [str.type] = None,
std_err_log_level: [None, [str.type, int.type]] = None,
std_out_log_level: [None, [str.type, int.type]] = None,
target: [None, str.type] = None,
test_case_timeout_ms: [None, int.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
test_type: [None, str.type] = None,
use_cxx_libraries: [None, bool.type] = None,
use_dependency_order_classpath: [None, bool.type] = None,
vm_args: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

java_test_runner

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
abi_generation_mode: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
main_class: str.type = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

js_bundle

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_is_release: bool.type = None,
_platform: str.type = None,
android_package: [None, str.type] = None,
bundle_name: [None, str.type] = None,
bundle_name_for_flavor: [(str.type, str.type)] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
entry: [[str.type], str.type],
extra_json: [None, str.type] = None,
fallback_transform_profile: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None,
worker: str.type
) -> None

js_bundle_genrule

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_is_release: bool.type = None,
_platform: str.type = None,
bash: [None, str.type] = None,
bundle_name: [None, str.type] = None,
bundle_name_for_flavor: [(str.type, str.type)] = None,
cacheable: [None, bool.type] = None,
cmd: [None, str.type] = None,
cmd_exe: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
enable_sandbox: [None, bool.type] = None,
environment_expansion_separator: [None, str.type] = None,
js_bundle: str.type,
labels: [str.type] = None,
licenses: [str.type] = None,
need_android_tools: bool.type = None,
remote: [None, bool.type] = None,
rewrite_deps_file: bool.type = None,
rewrite_misc: bool.type = None,
rewrite_sourcemap: bool.type = None,
skip_resources: bool.type = None,
srcs: [{str.type: str.type}, [str.type]] = None,
type: str.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

js_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: bool.type = None,
_is_release: bool.type = None,
_platform: str.type = None,
asset_extensions: [None, [str.type]] = None,
asset_platforms: [None, [str.type]] = None,
base_path: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
extra_json: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
srcs: [[str.type, (str.type, str.type)]] = None,
within_view: [None, [None, [str.type]]] = None,
worker: str.type
) -> None

json

UNKNOWN

julia_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_julia_toolchain: default_only = None,
deps: [str.type] = None,
julia_args: [str.type] = None,
julia_flags: [str.type] = None,
main: str.type,
srcs: [str.type] = None
) -> None

julia_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_julia_toolchain: default_only = None,
deps: [str.type] = None
) -> None

julia_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_julia_toolchain: default_only = None,
deps: [str.type] = None,
julia_args: [str.type] = None,
julia_flags: [str.type] = None,
resources: [str.type] = None,
src: str.type
) -> None

keystore

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
properties: str.type,
store: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

kotlin_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
_dex_min_sdk_version: [None, int.type] = None,
_dex_toolchain: [None, str.type] = None,
_is_building_android_binary: default_only = None,
_java_toolchain: str.type = None,
_kotlin_toolchain: str.type = None,
abi_generation_mode: [None, str.type] = None,
annotation_processing_tool: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_kotlinc_arguments: [str.type] = None,
friend_paths: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, [str.type, str.type]] = None,
kotlin_compiler_plugins: {str.type: {str.type: str.type}} = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
use_jvm_abi_gen: [None, bool.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

kotlin_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
_inject_test_env: default_only = None,
_is_building_android_binary: default_only = None,
_java_test_toolchain: str.type = None,
_java_toolchain: str.type = None,
_kotlin_toolchain: str.type = None,
abi_generation_mode: [None, str.type] = None,
annotation_processing_tool: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
cxx_library_whitelist: [str.type] = None,
default_cxx_platform: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
env: {str.type: str.type} = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_kotlinc_arguments: [str.type] = None,
fork_mode: str.type = None,
friend_paths: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, [str.type, str.type]] = None,
kotlin_compiler_plugins: {str.type: {str.type: str.type}} = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
run_test_separately: bool.type = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
std_err_log_level: [None, [str.type, int.type]] = None,
std_out_log_level: [None, [str.type, int.type]] = None,
target: [None, str.type] = None,
test_case_timeout_ms: [None, int.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
test_type: [None, str.type] = None,
use_cxx_libraries: [None, bool.type] = None,
use_dependency_order_classpath: [None, bool.type] = None,
use_jvm_abi_gen: [None, bool.type] = None,
vm_args: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

legacy_toolchain

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
toolchain_name: str.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

link_group_map

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
map: [(str.type, [(str.type, str.type, [None, str.type], [None, str.type])])]
) -> None

load_symbols

(
symbols: {"": ""}
) -> None

lua_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
main_module: str.type = None,
native_starter_library: [None, str.type] = None,
package_style: [None, str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
python_platform: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

lua_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
base_module: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

map

(
func: "",
seq: iter("")
) -> [""]

ndk_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
flags: [str.type] = None,
is_asset: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

ndk_toolchain

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
cxx_runtime: [None, str.type] = None,
cxx_toolchain: str.type,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
objdump: str.type,
shared_runtime_path: [None, str.type] = None,
strip_apk_libs_flags: [None, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

ocaml_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_ocaml_toolchain: default_only = None,
bytecode_only: [None, bool.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
ocamldep_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
srcs: [None, [{str.type: str.type}, [str.type]]] = None,
warnings_flags: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

ocaml_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_ocaml_toolchain: default_only = None,
bytecode_only: bool.type = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
native_plugin: bool.type = None,
ocamldep_flags: [str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
srcs: [None, [{str.type: str.type}, [str.type]]] = None,
warnings_flags: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

ocaml_object

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_ocaml_toolchain: default_only = None,
bytecode_only: [None, bool.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
ocamldep_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
srcs: [None, [{str.type: str.type}, [str.type]]] = None,
warnings_flags: [None, str.type] = None,
within_view: [None, [str.type]] = None
) -> None

ocaml_shared

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_ocaml_toolchain: default_only = None,
bytecode_only: [None, bool.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
ocamldep_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
srcs: [None, [{str.type: str.type}, [str.type]]] = None,
warnings_flags: [None, str.type] = None,
within_view: [None, [str.type]] = None
) -> None

oncall

Called in a TARGETS/BUCK file to declare the oncall contact details for all the targets defined. Must be called at most once, before any targets have been declared. Errors if called from a .bzl file.

(
name: str.type
) -> None

package

(
*,
inherit: bool.type = None,
visibility: [str.type] = None,
within_view: [str.type] = None
) -> None

package_name

() -> str.type

partial

(
func: "",
*args: UNKNOWN,
**kwargs: {"": ""}
) -> "function"

platform

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
constraint_values: [str.type] = None,
deps: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

pprint

(
*args: UNKNOWN
) -> None

prebuilt_apple_framework

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_apple_toolchain: str.type = None,
_omnibus_environment: [None, str.type] = None,
code_sign_on_copy: [None, bool.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_linker_flags: [str.type] = None,
exported_platform_linker_flags: [(str.type, [str.type])] = None,
framework: [None, str.type] = None,
frameworks: [str.type] = None,
labels: [str.type] = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
preferred_linkage: str.type = None,
supported_platforms_regex: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

prebuilt_cxx_library

(
exported_preprocessor_flags: UNKNOWN = None,
versioned_exported_preprocessor_flags: UNKNOWN = None,
exported_lang_preprocessor_flags: UNKNOWN = None,
versioned_exported_lang_preprocessor_flags: UNKNOWN = None,
exported_platform_preprocessor_flags: UNKNOWN = None,
versioned_exported_platform_preprocessor_flags: UNKNOWN = None,
exported_lang_platform_preprocessor_flags: UNKNOWN = None,
versioned_exported_lang_platform_preprocessor_flags: UNKNOWN = None,
static_lib: UNKNOWN = None,
versioned_static_lib: UNKNOWN = None,
static_pic_lib: UNKNOWN = None,
versioned_static_pic_lib: UNKNOWN = None,
shared_lib: UNKNOWN = None,
versioned_shared_lib: UNKNOWN = None,
header_dirs: UNKNOWN = None,
versioned_header_dirs: UNKNOWN = None,
**kwargs: UNKNOWN
) -> UNKNOWN

prebuilt_cxx_library_group

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
exported_platform_deps: [(str.type, [str.type])] = None,
exported_preprocessor_flags: [str.type] = None,
import_libs: {str.type: str.type} = None,
include_dirs: [str.type] = None,
include_in_android_merge_map_output: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
provided_shared_libs: {str.type: str.type} = None,
shared_libs: {str.type: str.type} = None,
shared_link: [str.type] = None,
static_libs: [str.type] = None,
static_link: [str.type] = None,
static_pic_libs: [str.type] = None,
static_pic_link: [str.type] = None,
supported_platforms_regex: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

prebuilt_dotnet_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
assembly: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

prebuilt_go_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
labels: [str.type] = None,
library: str.type,
licenses: [str.type] = None,
package_name: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

prebuilt_jar

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
_dex_min_sdk_version: [None, int.type] = None,
_dex_toolchain: [None, str.type] = None,
_prebuilt_jar_toolchain: str.type = None,
binary_jar: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
generate_abi: bool.type = None,
javadoc_url: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: bool.type = None,
required_for_source_only_abi: bool.type = None,
source_jar: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

prebuilt_native_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
has_wrap_script: bool.type = None,
is_asset: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
native_libs: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

prebuilt_ocaml_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
bytecode_c_libs: [str.type] = None,
bytecode_lib: [None, str.type] = None,
bytecode_only: bool.type = None,
c_libs: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
include_dir: [None, str.type] = None,
labels: [str.type] = None,
lib_dir: str.type = None,
lib_name: str.type = None,
licenses: [str.type] = None,
native_c_libs: [str.type] = None,
native_lib: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

prebuilt_python_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_create_manifest_for_source_dir: str.type = None,
_extract: default_only = None,
_python_toolchain: default_only = None,
binary_src: str.type,
compile: bool.type = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exclude_deps_from_merged_linking: bool.type = None,
ignore_compile_errors: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

prebuilt_rust_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_rust_toolchain: default_only = None,
contacts: [str.type] = None,
crate: str.type = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_style: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
proc_macro: bool.type = None,
rlib: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

print

(
*args: UNKNOWN
) -> None

provider

(
doc: str.type = None,
fields: [[str.type], {str.type: str.type}]
) -> "provider_callable"

python

UNKNOWN

python_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_create_manifest_for_source_dir: str.type = None,
_cxx_hacks: default_only = None,
_cxx_toolchain: default_only = None,
_exec_os_type: default_only = None,
_omnibus_environment: [None, str.type] = None,
_package_remotely: bool.type = None,
_python_toolchain: default_only = None,
_target_os_type: default_only = None,
allow_huge_dwp: bool.type = None,
auto_link_groups: default_only = None,
base_module: [None, str.type] = None,
binary_linker_flags: default_only = None,
bolt_flags: default_only = None,
bolt_gdb_index: default_only = None,
bolt_profile: default_only = None,
build_args: [str.type] = None,
compile: [None, bool.type] = None,
compiler_flags: default_only = None,
contacts: [str.type] = None,
cxx_main: str.type = None,
cxx_platform: [None, str.type] = None,
cxx_runtime_type: default_only = None,
deduplicate_merged_link_roots: [None, bool.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: default_only = None,
defaults: default_only = None,
deps: [str.type] = None,
deps_query: default_only = None,
devirt_enabled: default_only = None,
dummy_omnibus: [None, str.type] = None,
enable_distributed_thinlto: bool.type = None,
executable_deps: [str.type] = None,
executable_name: [None, str.type] = None,
extension: [None, str.type] = None,
fat_lto: default_only = None,
focused_list_target: default_only = None,
frameworks: default_only = None,
header_namespace: default_only = None,
headers: default_only = None,
headers_as_raw_headers_mode: default_only = None,
include_directories: default_only = None,
labels: [str.type] = None,
lang_compiler_flags: default_only = None,
lang_platform_compiler_flags: default_only = None,
lang_platform_preprocessor_flags: default_only = None,
lang_preprocessor_flags: default_only = None,
libraries: default_only = None,
licenses: [str.type] = None,
link_deps_query_whole: default_only = None,
link_group: [None, str.type] = None,
link_group_map: [None, [str.type, [(str.type, [([None, str.type], str.type, [None, str.type], [None, str.type])])]]] = None,
link_style: str.type = None,
link_whole: default_only = None,
linker_extra_outputs: default_only = None,
linker_flags: [str.type] = None,
main: [None, str.type] = None,
main_module: [None, str.type] = None,
make_pex: [None, str.type] = None,
manifest_module_entries: [None, {str.type: ""}] = None,
native_link_strategy: [None, str.type] = None,
package_split_dwarf_dwp: bool.type = None,
package_style: [None, str.type] = None,
par_style: [None, str.type] = None,
platform: [None, str.type] = None,
platform_compiler_flags: default_only = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: default_only = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preload_deps: [(str.type, [str.type])] = None,
platform_preprocessor_flags: default_only = None,
platform_srcs: default_only = None,
post_linker_flags: default_only = None,
post_platform_linker_flags: default_only = None,
precompiled_header: default_only = None,
prefer_stripped_native_objects: bool.type = None,
prefer_stripped_objects: default_only = None,
prefix_header: default_only = None,
preload_deps: [str.type] = None,
preprocessor_flags: default_only = None,
raw_headers: default_only = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
static_extension_finder: str.type = None,
static_extension_utils: str.type = None,
thin_lto: default_only = None,
version_universe: [None, str.type] = None,
weak_framework_names: default_only = None,
within_view: [None, [None, [str.type]]] = None,
zip_safe: [None, bool.type] = None
) -> None

python_bootstrap_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_exec_os_type: default_only = None,
_python_bootstrap_toolchain: default_only = None,
_win_python_wrapper: default_only = None,
deps: [str.type] = None,
main: str.type
) -> None

python_bootstrap_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
srcs: [str.type]
) -> None

python_library

(
srcs: UNKNOWN = None,
versioned_srcs: UNKNOWN = None,
resources: UNKNOWN = None,
versioned_resources: UNKNOWN = None,
**kwargs: UNKNOWN
) -> UNKNOWN

python_needed_coverage_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_inject_test_env: default_only = None,
contacts: [str.type] = None,
env: {str.type: str.type} = None,
labels: [str.type] = None,
needed_coverage: [(int.type, str.type, [None, str.type])] = None,
remote_execution: [None, {str.type: str.type}] = None,
test: str.type
) -> None

python_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_create_manifest_for_source_dir: str.type = None,
_cxx_hacks: default_only = None,
_cxx_toolchain: default_only = None,
_exec_os_type: default_only = None,
_inject_test_env: default_only = None,
_omnibus_environment: [None, str.type] = None,
_python_toolchain: default_only = None,
_target_os_type: default_only = None,
_test_main: str.type = None,
additional_coverage_targets: [str.type] = None,
allow_huge_dwp: bool.type = None,
auto_link_groups: default_only = None,
base_module: [None, str.type] = None,
binary_linker_flags: default_only = None,
bolt_flags: default_only = None,
bolt_gdb_index: default_only = None,
bolt_profile: default_only = None,
build_args: [str.type] = None,
compile: [None, bool.type] = None,
compiler_flags: default_only = None,
contacts: [str.type] = None,
cxx_main: str.type = None,
cxx_platform: [None, str.type] = None,
cxx_runtime_type: default_only = None,
deduplicate_merged_link_roots: [None, bool.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: default_only = None,
defaults: default_only = None,
deps: [str.type] = None,
deps_query: default_only = None,
devirt_enabled: default_only = None,
dummy_omnibus: [None, str.type] = None,
enable_distributed_thinlto: bool.type = None,
env: {str.type: str.type} = None,
exclude_deps_from_merged_linking: bool.type = None,
executable_deps: [str.type] = None,
executable_name: [None, str.type] = None,
extension: [None, str.type] = None,
fat_lto: default_only = None,
focused_list_target: default_only = None,
frameworks: default_only = None,
header_namespace: default_only = None,
headers: default_only = None,
headers_as_raw_headers_mode: default_only = None,
include_directories: default_only = None,
labels: [str.type] = None,
lang_compiler_flags: default_only = None,
lang_platform_compiler_flags: default_only = None,
lang_platform_preprocessor_flags: default_only = None,
lang_preprocessor_flags: default_only = None,
libraries: default_only = None,
licenses: [str.type] = None,
link_deps_query_whole: default_only = None,
link_group: [None, str.type] = None,
link_group_map: [None, [str.type, [(str.type, [([None, str.type], str.type, [None, str.type], [None, str.type])])]]] = None,
link_style: default_only = None,
link_whole: default_only = None,
linker_extra_outputs: default_only = None,
linker_flags: [str.type] = None,
main_module: [None, str.type] = None,
make_pex: [None, str.type] = None,
manifest_module_entries: [None, {str.type: ""}] = None,
native_link_strategy: [None, str.type] = None,
needed_coverage: [(int.type, str.type, [None, str.type])] = None,
package_split_dwarf_dwp: bool.type = None,
package_style: [None, str.type] = None,
par_style: [None, str.type] = None,
platform: [None, str.type] = None,
platform_compiler_flags: default_only = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: default_only = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preload_deps: [(str.type, [str.type])] = None,
platform_preprocessor_flags: default_only = None,
platform_resources: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_srcs: default_only = None,
post_linker_flags: default_only = None,
post_platform_linker_flags: default_only = None,
precompiled_header: default_only = None,
prefer_stripped_native_objects: bool.type = None,
prefer_stripped_objects: default_only = None,
prefix_header: default_only = None,
preload_deps: [str.type] = None,
preprocessor_flags: default_only = None,
raw_headers: default_only = None,
remote_execution: [None, {str.type: str.type}] = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
runner: [None, str.type] = None,
specs: [None, str.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
static_extension_finder: str.type = None,
static_extension_utils: str.type = None,
test_rule_timeout_ms: [None, int.type] = None,
thin_lto: default_only = None,
version_universe: [None, str.type] = None,
versioned_resources: [None, [({str.type: str.type}, [{str.type: str.type}, [str.type]])]] = None,
versioned_srcs: [None, [({str.type: str.type}, [{str.type: str.type}, [str.type]])]] = None,
weak_framework_names: default_only = None,
within_view: [None, [None, [str.type]]] = None,
zip_safe: [None, bool.type] = None
) -> None

python_test_runner

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
main_module: str.type = None,
src: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

read_config

(
section: str.type,
key: str.type,
default: [None, ""] = None
) -> ""

read_package_value

Read value specified in the PACKAGE file.

(
key: str.type
) -> ""

read_root_config

(
section: str.type,
key: str.type,
default: [None, str.type] = None
) -> [None, str.type]

record

(
**kwargs: {str.type: ""}
) -> "function"

regex_match

(
regex: str.type,
str: str.type
) -> bool.type

remote_file

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_unzip_tool: default_only = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
out: [None, str.type] = None,
sha1: [None, str.type] = None,
sha256: [None, str.type] = None,
type: [None, str.type] = None,
url: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

repository_name

() -> str.type

resource_group_map

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
map: [(str.type, [(str.type, str.type, [None, str.type])])]
) -> None

robolectric_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_build_only_native_code: default_only = None,
_inject_test_env: default_only = None,
_is_building_android_binary: default_only = None,
_java_test_toolchain: default_only = None,
_java_toolchain: str.type = None,
_kotlin_toolchain: str.type = None,
abi_generation_mode: [None, str.type] = None,
annotation_processing_tool: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
cxx_library_whitelist: [str.type] = None,
default_cxx_platform: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
env: {str.type: str.type} = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_kotlinc_arguments: [str.type] = None,
fork_mode: str.type = None,
friend_paths: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
kotlin_compiler_plugins: {str.type: {str.type: str.type}} = None,
labels: [str.type] = None,
language: [None, str.type] = None,
licenses: [str.type] = None,
locales_for_binary_resources: [str.type] = None,
manifest_entries: {str.type: ""} = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
preferred_density_for_binary_resources: [None, str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resource_union_package: [None, str.type] = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
robolectric_manifest: str.type,
robolectric_runtime_dependencies: [str.type] = None,
robolectric_runtime_dependency: [None, str.type] = None,
run_test_separately: bool.type = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
std_err_log_level: [None, [str.type, int.type]] = None,
std_out_log_level: [None, [str.type, int.type]] = None,
target: [None, str.type] = None,
test_case_timeout_ms: [None, int.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
test_type: [None, str.type] = None,
use_cxx_libraries: [None, bool.type] = None,
use_dependency_order_classpath: [None, bool.type] = None,
use_jvm_abi_gen: [None, bool.type] = None,
vm_args: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

rule

(
*,
impl: "",
attrs: {str.type: "attribute"},
cfg: [None, ""] = None,
doc: str.type = None,
is_configuration_rule: bool.type = None,
is_toolchain_rule: bool.type = None
) -> ""

rule_exists

This should be called "target exists", not "rule exists" (if this should exist at all).

(
name: str.type
) -> bool.type

rust_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_exec_os_type: default_only = None,
_rust_toolchain: default_only = None,
_target_os_type: default_only = None,
contacts: [str.type] = None,
crate: [None, str.type] = None,
crate_root: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
deps: [str.type] = None,
edition: [None, str.type] = None,
env: {str.type: str.type} = None,
features: [str.type] = None,
flagged_deps: [(str.type, [str.type])] = None,
framework: bool.type = None,
incremental_build_mode: [None, str.type] = None,
incremental_enabled: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_style: [None, str.type] = None,
linker_flags: [str.type] = None,
mapped_srcs: {str.type: str.type} = None,
named_deps: {str.type: str.type} = None,
platform_deps: [(str.type, [str.type])] = None,
platform_flagged_deps: [(str.type, [(str.type, [str.type])])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_rustc_flags: {str.type: [str.type]} = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
rpath: bool.type = None,
rustc_flags: [str.type] = None,
rustdoc_flags: [str.type] = None,
srcs: [str.type] = None,
version_universe: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

rust_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_exec_os_type: default_only = None,
_omnibus_environment: [None, str.type] = None,
_rust_toolchain: default_only = None,
_target_os_type: default_only = None,
contacts: [str.type] = None,
crate: [None, str.type] = None,
crate_root: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
deps: [str.type] = None,
doc_deps: [str.type] = None,
doc_linker_flags: [str.type] = None,
doc_named_deps: {str.type: str.type} = None,
doc_platform_deps: [(str.type, [str.type])] = None,
doc_platform_linker_flags: [(str.type, [str.type])] = None,
doctests: bool.type = None,
edition: [None, str.type] = None,
env: {str.type: str.type} = None,
features: [str.type] = None,
flagged_deps: [(str.type, [str.type])] = None,
incremental_build_mode: [None, str.type] = None,
incremental_enabled: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
mapped_srcs: {str.type: str.type} = None,
named_deps: {str.type: str.type} = None,
platform_deps: [(str.type, [str.type])] = None,
platform_flagged_deps: [(str.type, [(str.type, [str.type])])] = None,
platform_rustc_flags: {str.type: [str.type]} = None,
preferred_linkage: str.type = None,
proc_macro: bool.type = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
rustc_flags: [str.type] = None,
rustdoc_flags: [str.type] = None,
srcs: [str.type] = None,
supports_python_dlopen: [None, bool.type] = None,
version_universe: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

rust_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_exec_os_type: default_only = None,
_inject_test_env: default_only = None,
_rust_toolchain: default_only = None,
_target_os_type: default_only = None,
contacts: [str.type] = None,
crate: [None, str.type] = None,
crate_root: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
deps: [str.type] = None,
edition: [None, str.type] = None,
env: {str.type: str.type} = None,
features: [str.type] = None,
flagged_deps: [(str.type, [str.type])] = None,
framework: bool.type = None,
incremental_build_mode: [None, str.type] = None,
incremental_enabled: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_style: [None, str.type] = None,
linker_flags: [str.type] = None,
mapped_srcs: {str.type: str.type} = None,
named_deps: {str.type: str.type} = None,
platform_deps: [(str.type, [str.type])] = None,
platform_flagged_deps: [(str.type, [(str.type, [str.type])])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_rustc_flags: {str.type: [str.type]} = None,
remote_execution: [None, {str.type: str.type}] = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
rpath: bool.type = None,
rustc_flags: [str.type] = None,
rustdoc_flags: [str.type] = None,
srcs: [str.type] = None,
version_universe: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

scala_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
abi_generation_mode: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

scala_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
abi_generation_mode: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
cxx_library_whitelist: [str.type] = None,
default_cxx_platform: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
env: {str.type: str.type} = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
fork_mode: str.type = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
run_test_separately: bool.type = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
std_err_log_level: [None, [str.type, int.type]] = None,
std_out_log_level: [None, [str.type, int.type]] = None,
target: [None, str.type] = None,
test_case_timeout_ms: [None, int.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
test_type: [None, str.type] = None,
use_cxx_libraries: [None, bool.type] = None,
use_dependency_order_classpath: [None, bool.type] = None,
vm_args: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

scene_kit_assets

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
path: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

select

(
d: ""
) -> "selector"

select_equal_internal

Tests that two selects are equal to each other. For testing use only.

(
left: "",
right: ""
) -> bool.type

select_map

Applies a mapping function to a selector. See [StarlarkSelector::select_map].

(
d: "",
func: ""
) -> ""

select_test

Applies a test function to a selector. See [StarlarkSelector::select_test].

(
d: "",
func: ""
) -> bool.type

sh_binary

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_target_os_type: default_only = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
main: str.type,
resources: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

sh_test

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_inject_test_env: default_only = None,
args: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
env: {str.type: str.type} = None,
labels: [str.type] = None,
licenses: [str.type] = None,
list_args: [None, [str.type]] = None,
list_env: [None, {str.type: str.type}] = None,
resources: [str.type] = None,
run_args: [str.type] = None,
run_env: {str.type: str.type} = None,
run_test_separately: bool.type = None,
test: [None, [str.type, str.type]] = None,
test_rule_timeout_ms: [None, int.type] = None,
type: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

sha256

Computes a sha256 digest for a string. Returns the hex representation of the digest.

(
val: str.type
) -> str.type

struct

(
*args: UNKNOWN,
**kwargs: UNKNOWN
) -> "struct"

supermodule_target_graph

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
label_pattern: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
on_duplicate_entry: str.type = None,
out: str.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

swift_library

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
bridging_header: [None, str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
enable_cxx_interop: bool.type = None,
frameworks: [str.type] = None,
labels: [str.type] = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
module_name: [None, str.type] = None,
preferred_linkage: str.type = None,
sdk_modules: [str.type] = None,
serialize_debugging_options: bool.type = None,
soname: [None, str.type] = None,
srcs: [str.type] = None,
supported_platforms_regex: [None, str.type] = None,
target_sdk_version: [None, str.type] = None,
uses_explicit_modules: bool.type = None,
version: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

swift_toolchain

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_internal_platform_path: [None, str.type] = None,
_internal_sdk_path: [None, str.type] = None,
_swiftc_wrapper: str.type = None,
architecture: [None, str.type] = None,
can_toolchain_emit_obj_c_header_textually: bool.type = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
explicit_modules_uses_gmodules: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
platform_path: [None, str.type] = None,
prefix_serialized_debug_info: bool.type = None,
resource_dir: [None, str.type] = None,
runtime_paths_for_bundling: [str.type] = None,
runtime_paths_for_linking: [str.type] = None,
runtime_run_paths: [str.type] = None,
sdk_dependencies_path: [None, str.type] = None,
sdk_modules: [str.type] = None,
sdk_path: [None, str.type] = None,
static_runtime_paths: [str.type] = None,
swift_stdlib_tool: str.type,
swift_stdlib_tool_flags: [str.type] = None,
swiftc: str.type,
swiftc_flags: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

test_suite

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
test_deps: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

transition

(
*,
impl: "",
refs: {str.type: str.type},
attrs: [None, [str.type]] = None,
split: bool.type = None
) -> "transition"

transitive_set

(
args_projections: [None, {str.type: ""}] = None,
json_projections: [None, {str.type: ""}] = None,
reductions: [None, {str.type: ""}] = None
) -> "transitive_set_definition"

versioned_alias

(
versions: UNKNOWN = {},
**kwargs: UNKNOWN
) -> UNKNOWN

warning

Produce a warning.

(
x: str.type
) -> None

worker_tool

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_worker_tool_runner: default_only = None,
args: [str.type, [str.type]] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
env: {str.type: str.type} = None,
exe: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
max_workers: [None, int.type] = None,
max_workers_per_thread_percent: [None, int.type] = None,
persistent: [None, bool.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

write_package_value

Set the value to be accessible in the nested PACKAGE files.

(
key: str.type,
value: "",
*,
overwrite: bool.type = None
) -> None

xcode_postbuild_script

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
cmd: str.type = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
input_file_lists: [str.type] = None,
inputs: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
output_file_lists: [str.type] = None,
outputs: [str.type] = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

xcode_prebuild_script

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
cmd: str.type = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
input_file_lists: [str.type] = None,
inputs: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
output_file_lists: [str.type] = None,
outputs: [str.type] = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

xcode_workspace_config

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
action_config_names: {str.type: str.type} = None,
additional_scheme_actions: [None, {str.type: {str.type: [str.type]}}] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
environment_variables: [None, {str.type: {str.type: str.type}}] = None,
explicit_runnable_path: [None, str.type] = None,
extra_schemes: {str.type: str.type} = None,
extra_shallow_targets: [str.type] = None,
extra_targets: [str.type] = None,
extra_tests: [str.type] = None,
is_remote_runnable: [None, bool.type] = None,
labels: [str.type] = None,
launch_style: [None, str.type] = None,
licenses: [str.type] = None,
notification_payload_file: [None, str.type] = None,
src_target: [None, str.type] = None,
was_created_for_app_extension: [None, bool.type] = None,
watch_interface: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None,
workspace_name: [None, str.type] = None
) -> None

zip_file

(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_zip_file_toolchain: default_only = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
entries_to_exclude: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
on_duplicate_entry: str.type = None,
out: str.type = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None,
zip_srcs: [str.type] = None
) -> None

CommandExecutorConfig

def CommandExecutorConfig(
local_enabled: bool.type,
remote_enabled: bool.type,
*,
remote_cache_enabled: [None, bool.type] = None,
remote_execution_properties: "" = None,
remote_execution_action_key: "" = None,
remote_execution_max_input_files_mebibytes: [None, int.type] = None,
remote_execution_use_case: "" = None,
use_limited_hybrid: bool.type = None,
allow_limited_hybrid_fallbacks: bool.type = None,
allow_hybrid_fallbacks_on_failure: bool.type = None,
use_windows_path_separators: bool.type = None,
allow_cache_uploads: bool.type = None,
max_cache_upload_mebibytes: [None, int.type] = None,
experimental_low_pass_filter: bool.type = None,
remote_output_paths: [None, str.type] = None
) -> ""

ConfigurationInfo : UNKNOWN


ConstraintSettingInfo : UNKNOWN


ConstraintValueInfo : UNKNOWN


DefaultInfo : UNKNOWN


ExecutionPlatformInfo : UNKNOWN


ExecutionPlatformRegistrationInfo : UNKNOWN


ExternalRunnerTestInfo : UNKNOWN


InstallInfo : UNKNOWN


PlatformInfo : UNKNOWN


RunInfo : UNKNOWN


TemplatePlaceholderInfo : UNKNOWN


abs

def abs(x: int.type) -> int.type

alias

def alias(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
actual: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

actual

contacts

default_host_platform

labels

licenses

within_view


android_aar

def android_aar(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
abi_generation_mode: [None, str.type] = None,
annotation_processing_tool: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
build_config_values: [str.type] = None,
build_config_values_file: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
enable_relinker: bool.type = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_kotlinc_arguments: [str.type] = None,
friend_paths: [str.type] = None,
include_build_config_class: bool.type = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
kotlin_compiler_plugins: {str.type: {str.type: str.type}} = None,
labels: [str.type] = None,
language: [None, str.type] = None,
licenses: [str.type] = None,
manifest: [None, str.type] = None,
manifest_file: [None, str.type] = None,
manifest_skeleton: str.type,
maven_coords: [None, str.type] = None,
native_library_merge_code_generator: [None, str.type] = None,
native_library_merge_glue: [None, str.type] = None,
native_library_merge_localized_symbols: [None, [str.type]] = None,
native_library_merge_map: [None, {str.type: [str.type]}] = None,
native_library_merge_sequence: [None, [(str.type, [str.type])]] = None,
native_library_merge_sequence_blocklist: [None, [str.type]] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
provided_deps_query: [None, str.type] = None,
relinker_whitelist: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resource_union_package: [None, str.type] = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
use_jvm_abi_gen: [None, bool.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

abi_generation_mode

annotation_processing_tool

annotation_processor_deps

annotation_processor_params

annotation_processors

build_config_values

build_config_values_file

contacts

default_host_platform

deps

deps_query

enable_relinker

exported_deps

exported_provided_deps

extra_arguments

extra_kotlinc_arguments

friend_paths

include_build_config_class

java_version

javac

kotlin_compiler_plugins

labels

language

licenses

manifest

manifest_file

manifest_skeleton

maven_coords

native_library_merge_code_generator

native_library_merge_glue

native_library_merge_localized_symbols

native_library_merge_map

native_library_merge_sequence

native_library_merge_sequence_blocklist

never_mark_as_unused_dependency

on_unused_dependencies

plugins

proguard_config

provided_deps

provided_deps_query

relinker_whitelist

remove_classes

required_for_source_only_abi

resource_union_package

resources

resources_root

runtime_deps

source

source_abi_verification_mode

source_only_abi_deps

srcs

target

use_jvm_abi_gen

within_view


android_app_modularity

def android_app_modularity(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
application_module_blacklist: [None, [str.type]] = None,
application_module_configs: {str.type: [str.type]} = None,
application_module_dependencies: [None, {str.type: [str.type]}] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
no_dx: [str.type] = None,
should_include_classes: bool.type = None,
should_include_libraries: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_android_toolchain

application_module_blacklist

application_module_configs

application_module_dependencies

contacts

default_host_platform

deps

labels

licenses

no_dx

should_include_classes

should_include_libraries

within_view


android_binary

def android_binary(cpu_filters: UNKNOWN = None, **kwargs: UNKNOWN) -> UNKNOWN

android_build_config

def android_build_config(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_build_only_native_code: default_only = None,
_is_building_android_binary: default_only = None,
_java_toolchain: str.type = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
package: str.type = None,
values: [str.type] = None,
values_file: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_android_toolchain

_build_only_native_code

_is_building_android_binary

_java_toolchain

contacts

default_host_platform

labels

licenses

package

values

values_file

within_view


android_bundle

def android_bundle(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
aapt2_keep_raw_values: bool.type = None,
aapt2_locale_filtering: bool.type = None,
aapt_mode: str.type = None,
additional_aapt_params: [str.type] = None,
allow_r_dot_java_in_secondary_dex: bool.type = None,
allowed_duplicate_resource_types: [str.type] = None,
android_sdk_proguard_config: [None, str.type] = None,
application_module_blacklist: [None, [str.type]] = None,
application_module_configs: {str.type: [str.type]} = None,
application_module_dependencies: [None, {str.type: [str.type]}] = None,
asset_compression_algorithm: [None, str.type] = None,
banned_duplicate_resource_types: [str.type] = None,
build_config_values: [str.type] = None,
build_config_values_file: [None, str.type] = None,
build_string_source_map: bool.type = None,
bundle_config_file: [None, str.type] = None,
compress_asset_libraries: bool.type = None,
contacts: [str.type] = None,
cpu_filters: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
dex_compression: [None, str.type] = None,
dex_group_lib_limit: int.type = None,
dex_tool: str.type = None,
disable_pre_dex: bool.type = None,
duplicate_resource_behavior: str.type = None,
duplicate_resource_whitelist: [None, str.type] = None,
enable_relinker: bool.type = None,
exopackage_modes: [str.type] = None,
extra_filtered_resources: [str.type] = None,
field_ref_count_buffer_space: int.type = None,
ignore_aapt_proguard_config: bool.type = None,
includes_vector_drawables: bool.type = None,
is_cacheable: bool.type = None,
is_voltron_language_pack_enabled: bool.type = None,
keystore: str.type,
labels: [str.type] = None,
licenses: [str.type] = None,
linear_alloc_hard_limit: int.type = None,
locales: [str.type] = None,
manifest: [None, str.type] = None,
manifest_entries: {str.type: ""} = None,
manifest_skeleton: [None, str.type] = None,
method_ref_count_buffer_space: int.type = None,
minimize_primary_dex_size: bool.type = None,
module_manifest_skeleton: [None, str.type] = None,
native_library_merge_code_generator: [None, str.type] = None,
native_library_merge_glue: [None, str.type] = None,
native_library_merge_localized_symbols: [None, [str.type]] = None,
native_library_merge_map: [None, {str.type: [str.type]}] = None,
native_library_merge_sequence: [None, [(str.type, [str.type])]] = None,
native_library_merge_sequence_blocklist: [None, [str.type]] = None,
no_auto_add_overlay_resources: bool.type = None,
no_auto_version_resources: bool.type = None,
no_dx: [str.type] = None,
no_version_transitions_resources: bool.type = None,
optimization_passes: int.type = None,
package_asset_libraries: bool.type = None,
package_type: str.type = None,
packaged_locales: [str.type] = None,
post_filter_resources_cmd: [None, str.type] = None,
preprocess_java_classes_bash: [None, str.type] = None,
preprocess_java_classes_cmd: [None, str.type] = None,
preprocess_java_classes_deps: [str.type] = None,
primary_dex_patterns: [str.type] = None,
proguard_config: [None, str.type] = None,
proguard_jvm_args: [str.type] = None,
relinker_whitelist: [str.type] = None,
resource_compression: str.type = None,
resource_filter: [str.type] = None,
resource_stable_ids: [None, str.type] = None,
resource_union_package: [None, str.type] = None,
secondary_dex_weight_limit: [None, int.type] = None,
skip_crunch_pngs: [None, bool.type] = None,
skip_proguard: bool.type = None,
trim_resource_ids: bool.type = None,
use_split_dex: bool.type = None,
within_view: [None, [None, [str.type]]] = None,
xz_compression_level: int.type = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

aapt2_keep_raw_values

aapt2_locale_filtering

aapt_mode

additional_aapt_params

allow_r_dot_java_in_secondary_dex

allowed_duplicate_resource_types

android_sdk_proguard_config

application_module_blacklist

application_module_configs

application_module_dependencies

asset_compression_algorithm

banned_duplicate_resource_types

build_config_values

build_config_values_file

build_string_source_map

bundle_config_file

compress_asset_libraries

contacts

cpu_filters

default_host_platform

deps

dex_compression

dex_group_lib_limit

dex_tool

disable_pre_dex

duplicate_resource_behavior

duplicate_resource_whitelist

enable_relinker

exopackage_modes

extra_filtered_resources

field_ref_count_buffer_space

ignore_aapt_proguard_config

includes_vector_drawables

is_cacheable

is_voltron_language_pack_enabled

keystore

labels

licenses

linear_alloc_hard_limit

locales

manifest

manifest_entries

manifest_skeleton

method_ref_count_buffer_space

minimize_primary_dex_size

module_manifest_skeleton

native_library_merge_code_generator

native_library_merge_glue

native_library_merge_localized_symbols

native_library_merge_map

native_library_merge_sequence

native_library_merge_sequence_blocklist

no_auto_add_overlay_resources

no_auto_version_resources

no_dx

no_version_transitions_resources

optimization_passes

package_asset_libraries

package_type

packaged_locales

post_filter_resources_cmd

preprocess_java_classes_bash

preprocess_java_classes_cmd

preprocess_java_classes_deps

primary_dex_patterns

proguard_config

proguard_jvm_args

relinker_whitelist

resource_compression

resource_filter

resource_stable_ids

resource_union_package

secondary_dex_weight_limit

skip_crunch_pngs

skip_proguard

trim_resource_ids

use_split_dex

within_view

xz_compression_level


android_instrumentation_apk

def android_instrumentation_apk(cpu_filters: UNKNOWN = None, **kwargs: UNKNOWN) -> UNKNOWN

android_instrumentation_test

def android_instrumentation_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_inject_test_env: default_only = None,
_java_toolchain: str.type = None,
apk: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
env: {str.type: str.type} = None,
labels: [str.type] = None,
licenses: [str.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_android_toolchain

_inject_test_env

_java_toolchain

apk

contacts

default_host_platform

env

labels

licenses

test_rule_timeout_ms

within_view


android_library

def android_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_build_only_native_code: default_only = None,
_dex_min_sdk_version: default_only = None,
_dex_toolchain: str.type = None,
_is_building_android_binary: default_only = None,
_java_toolchain: str.type = None,
_kotlin_toolchain: str.type = None,
abi_generation_mode: [None, str.type] = None,
annotation_processing_tool: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_kotlinc_arguments: [str.type] = None,
friend_paths: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
kotlin_compiler_plugins: {str.type: {str.type: str.type}} = None,
labels: [str.type] = None,
language: [None, str.type] = None,
licenses: [str.type] = None,
manifest: [None, str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
provided_deps_query: [None, str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resource_union_package: [None, str.type] = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
use_jvm_abi_gen: [None, bool.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_android_toolchain

_build_only_native_code

_dex_min_sdk_version

_dex_toolchain

_is_building_android_binary

_java_toolchain

_kotlin_toolchain

abi_generation_mode

annotation_processing_tool

annotation_processor_deps

annotation_processor_params

annotation_processors

contacts

default_host_platform

deps

deps_query

exported_deps

exported_provided_deps

extra_arguments

extra_kotlinc_arguments

friend_paths

java_version

javac

kotlin_compiler_plugins

labels

language

licenses

manifest

manifest_file

maven_coords

never_mark_as_unused_dependency

on_unused_dependencies

plugins

proguard_config

provided_deps

provided_deps_query

remove_classes

required_for_source_only_abi

resource_union_package

resources

resources_root

runtime_deps

source

source_abi_verification_mode

source_only_abi_deps

srcs

target

use_jvm_abi_gen

within_view


android_manifest

def android_manifest(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
skeleton: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_android_toolchain

contacts

default_host_platform

deps

labels

licenses

skeleton

within_view


android_platform

def android_platform(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
base_platform: str.type,
native_platforms: {str.type: str.type} = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

base_platform

native_platforms

within_view


android_prebuilt_aar

def android_prebuilt_aar(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_build_only_native_code: default_only = None,
_dex_min_sdk_version: default_only = None,
_dex_toolchain: str.type = None,
_java_toolchain: str.type = None,
aar: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
javadoc_url: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
maven_coords: [None, str.type] = None,
required_for_source_only_abi: bool.type = None,
source_jar: [None, str.type] = None,
use_system_library_loader: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_android_toolchain

_build_only_native_code

_dex_min_sdk_version

_dex_toolchain

_java_toolchain

aar

contacts

default_host_platform

deps

javadoc_url

labels

licenses

maven_coords

required_for_source_only_abi

source_jar

use_system_library_loader

within_view


android_resource

def android_resource(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_build_only_native_code: default_only = None,
allowlisted_locales: [None, [str.type]] = None,
assets: [None, [str.type, {str.type: str.type}]] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
has_whitelisted_strings: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest: [None, str.type] = None,
package: [None, str.type] = None,
project_assets: [None, str.type] = None,
project_res: [None, str.type] = None,
res: [None, [str.type, {str.type: str.type}]] = None,
resource_union: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_android_toolchain

_build_only_native_code

allowlisted_locales

assets

contacts

default_host_platform

deps

has_whitelisted_strings

labels

licenses

manifest

package

project_assets

project_res

res

resource_union

within_view


apk_genrule

def apk_genrule(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
aab: [None, str.type] = None,
apk: [None, str.type] = None,
bash: [None, str.type] = None,
cacheable: [None, bool.type] = None,
cmd: [None, str.type] = None,
cmd_exe: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
enable_sandbox: [None, bool.type] = None,
environment_expansion_separator: [None, str.type] = None,
is_cacheable: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
need_android_tools: bool.type = None,
out: [None, str.type] = None,
remote: [None, bool.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
type: str.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

aab

apk

bash

cacheable

cmd

cmd_exe

contacts

default_host_platform

enable_sandbox

environment_expansion_separator

is_cacheable

labels

licenses

need_android_tools

out

remote

srcs

type

within_view


apple_asset_catalog

def apple_asset_catalog(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
app_icon: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
dirs: [str.type] = None,
labels: [str.type] = None,
launch_image: [None, str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

app_icon

contacts

default_host_platform

dirs

labels

launch_image

licenses

within_view


apple_binary

def apple_binary(**kwargs: UNKNOWN) -> UNKNOWN

apple_bundle

def apple_bundle(**kwargs: UNKNOWN) -> UNKNOWN

apple_library

def apple_library(**kwargs: UNKNOWN) -> UNKNOWN

apple_package

def apple_package(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
bundle: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
need_android_tools: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

bundle

contacts

default_host_platform

default_platform

labels

licenses

need_android_tools

within_view


apple_resource

def apple_resource(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
codesign_on_copy: bool.type = None,
contacts: [str.type] = None,
content_dirs: [str.type] = None,
default_host_platform: [None, str.type] = None,
destination: [None, str.type] = None,
dirs: [str.type] = None,
files: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
named_variants: {str.type: [str.type]} = None,
resources_from_deps: [str.type] = None,
variants: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

codesign_on_copy

contacts

content_dirs

default_host_platform

destination

dirs

files

labels

licenses

named_variants

resources_from_deps

variants

within_view


apple_resource_bundle

def apple_resource_bundle(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_apple_toolchain: str.type = None,
_apple_tools: str.type = None,
_bundle_target_name: str.type,
_compile_resources_locally_override: [None, bool.type] = None,
asset_catalogs_compilation_options: {str.type: ""} = None,
binary: [None, str.type] = None,
deps: [str.type] = None,
extension: [str.type, str.type],
ibtool_flags: [None, [str.type]] = None,
ibtool_module_flag: [None, bool.type] = None,
info_plist: str.type,
info_plist_substitutions: {str.type: str.type} = None,
product_name: [None, str.type] = None,
resource_group: [None, str.type] = None,
resource_group_map: [None, [str.type, [(str.type, [(str.type, str.type, [None, str.type])])]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_apple_toolchain

_apple_tools

_bundle_target_name

_compile_resources_locally_override

asset_catalogs_compilation_options

binary

deps

extension

ibtool_flags

ibtool_module_flag

info_plist

info_plist_substitutions

product_name

resource_group

resource_group_map


apple_test

def apple_test(**kwargs: UNKNOWN) -> UNKNOWN

apple_toolchain

def apple_toolchain(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_internal_platform_path: [None, str.type] = None,
_internal_sdk_path: [None, str.type] = None,
actool: str.type,
architecture: str.type = None,
build_version: [None, str.type] = None,
codesign: str.type,
codesign_allocate: str.type,
codesign_identities_command: [None, str.type] = None,
compile_resources_locally: bool.type = None,
contacts: [str.type] = None,
copy_scene_kit_assets: [None, str.type] = None,
cxx_toolchain: str.type,
default_host_platform: [None, str.type] = None,
developer_path: [None, str.type] = None,
dsymutil: str.type,
dwarfdump: [None, str.type] = None,
ibtool: str.type,
installer: default_only = None,
labels: [str.type] = None,
libtool: str.type,
licenses: [str.type] = None,
lipo: str.type,
min_version: [None, str.type] = None,
momc: str.type,
platform_path: [None, str.type] = None,
requires_xcode_version_match: bool.type = None,
sdk_environment: [None, str.type] = None,
sdk_name: str.type = None,
sdk_path: [None, str.type] = None,
swift_toolchain: [None, str.type] = None,
version: [None, str.type] = None,
watch_kit_stub_binary: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None,
work_around_dsymutil_lto_stack_overflow_bug: [None, bool.type] = None,
xcode_build_version: [None, str.type] = None,
xcode_version: [None, str.type] = None,
xctest: str.type
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_internal_platform_path

_internal_sdk_path

actool

architecture

build_version

codesign

codesign_allocate

codesign_identities_command

compile_resources_locally

contacts

copy_scene_kit_assets

cxx_toolchain

default_host_platform

developer_path

dsymutil

dwarfdump

ibtool

installer

labels

libtool

licenses

lipo

min_version

momc

platform_path

requires_xcode_version_match

sdk_environment

sdk_name

sdk_path

swift_toolchain

version

watch_kit_stub_binary

within_view

work_around_dsymutil_lto_stack_overflow_bug

xcode_build_version

xcode_version

xctest


apple_toolchain_override

def apple_toolchain_override(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
base: str.type,
cxx_toolchain: str.type
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

base

cxx_toolchain


apple_toolchain_set

def apple_toolchain_set(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
apple_toolchains: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

apple_toolchains

contacts

default_host_platform

labels

licenses

within_view


apple_tools

def apple_tools(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
assemble_bundle: str.type,
info_plist_processor: str.type,
make_modulemap: str.type,
make_vfsoverlay: str.type,
swift_objc_header_postprocess: str.type
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

assemble_bundle

info_plist_processor

make_modulemap

make_vfsoverlay

swift_objc_header_postprocess


apple_watchos_bundle

def apple_watchos_bundle(**kwargs: UNKNOWN) -> UNKNOWN

attrs : UNKNOWN


breakpoint

def breakpoint() -> None

cgo_library

def cgo_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_go_toolchain: default_only = None,
cgo_compiler_flags: [str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
devirt_enabled: bool.type = None,
embedcfg: [None, str.type] = None,
executable_name: [None, str.type] = None,
exported_deps: [str.type] = None,
fat_lto: bool.type = None,
focused_list_target: [None, str.type] = None,
frameworks: [str.type] = None,
go_assembler_flags: [str.type] = None,
go_compiler_flags: [str.type] = None,
go_srcs: [str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
link_deps_query_whole: bool.type = None,
link_group: [None, str.type] = None,
link_group_map: [None, [(str.type, [(str.type, str.type, [None, str.type])])]] = None,
link_style: [None, str.type] = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
package_name: [None, str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
prefer_stripped_objects: bool.type = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
raw_headers: [str.type] = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
thin_lto: bool.type = None,
version_universe: [None, str.type] = None,
weak_framework_names: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_toolchain

_go_toolchain

cgo_compiler_flags

compiler_flags

contacts

cxx_runtime_type

default_host_platform

default_platform

defaults

deps

deps_query

devirt_enabled

embedcfg

executable_name

exported_deps

fat_lto

focused_list_target

frameworks

go_assembler_flags

go_compiler_flags

go_srcs

header_namespace

headers

headers_as_raw_headers_mode

include_directories

labels

lang_compiler_flags

lang_platform_compiler_flags

lang_platform_preprocessor_flags

lang_preprocessor_flags

libraries

licenses

link_deps_query_whole

link_group

link_group_map

link_style

linker_extra_outputs

linker_flags

package_name

platform_compiler_flags

platform_deps

platform_headers

platform_linker_flags

platform_preprocessor_flags

platform_srcs

post_linker_flags

post_platform_linker_flags

precompiled_header

prefer_stripped_objects

prefix_header

preprocessor_flags

raw_headers

srcs

thin_lto

version_universe

weak_framework_names

within_view


cmd_args

def cmd_args(*args: UNKNOWN, delimiter: [None, str.type] = None, format: [None, str.type] = None, prepend: [None, str.type] = None, quote: [None, str.type] = None) -> "cmd_args"

command_alias

def command_alias(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_exec_os_type: default_only = None,
_find_and_replace_bat: default_only = None,
_target_os_type: default_only = None,
args: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
env: {str.type: str.type} = None,
exe: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
platform_exe: {str.type: str.type} = None,
resources: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_exec_os_type

_find_and_replace_bat

_target_os_type

args

contacts

default_host_platform

env

exe

labels

licenses

platform_exe

resources

within_view


config_setting

def config_setting(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
constraint_values: [str.type] = None,
values: {str.type: str.type} = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

constraint_values

values

within_view


configured_alias

def configured_alias(name: UNKNOWN, actual: UNKNOWN, platform: UNKNOWN, fallback_to_unconfigured_alias: UNKNOWN = False, **kwargs: UNKNOWN) -> UNKNOWN

constraint_setting

def constraint_setting(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

within_view


constraint_value

def constraint_value(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
constraint_setting: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

constraint_setting

within_view


core_data_model

def core_data_model(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
path: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

labels

licenses

path

within_view


csharp_library

def csharp_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [[str.type, str.type]] = None,
dll_name: str.type = None,
framework_ver: str.type,
labels: [str.type] = None,
licenses: [str.type] = None,
resources: {str.type: str.type} = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

compiler_flags

contacts

default_host_platform

deps

dll_name

framework_ver

labels

licenses

resources

srcs

within_view


cxx : UNKNOWN


cxx_binary

def cxx_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_hacks: str.type = None,
_cxx_toolchain: default_only = None,
allow_huge_dwp: bool.type = None,
auto_link_groups: bool.type = None,
binary_linker_flags: [str.type] = None,
bolt_flags: [str.type] = None,
bolt_gdb_index: [None, str.type] = None,
bolt_profile: [None, str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
devirt_enabled: bool.type = None,
enable_distributed_thinlto: bool.type = None,
executable_name: [None, str.type] = None,
fat_lto: bool.type = None,
focused_list_target: [None, str.type] = None,
frameworks: [str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
link_deps_query_whole: bool.type = None,
link_group: [None, str.type] = None,
link_group_map: [None, [str.type, [(str.type, [([None, str.type], str.type, [None, str.type], [None, str.type])])]]] = None,
link_style: [None, str.type] = None,
link_whole: default_only = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
prefer_stripped_objects: bool.type = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
raw_headers: [str.type] = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
thin_lto: bool.type = None,
version_universe: [None, str.type] = None,
weak_framework_names: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_hacks

_cxx_toolchain

allow_huge_dwp

auto_link_groups

binary_linker_flags

bolt_flags

bolt_gdb_index

bolt_profile

compiler_flags

contacts

cxx_runtime_type

default_host_platform

default_platform

defaults

deps

deps_query

devirt_enabled

enable_distributed_thinlto

executable_name

fat_lto

focused_list_target

frameworks

header_namespace

headers

headers_as_raw_headers_mode

include_directories

labels

lang_compiler_flags

lang_platform_compiler_flags

lang_platform_preprocessor_flags

lang_preprocessor_flags

libraries

licenses

link_deps_query_whole

link_group

link_group_map

link_style

link_whole

linker_extra_outputs

linker_flags

platform_compiler_flags

platform_deps

platform_headers

platform_linker_flags

platform_preprocessor_flags

platform_srcs

post_linker_flags

post_platform_linker_flags

precompiled_header

prefer_stripped_objects

prefix_header

preprocessor_flags

raw_headers

resources

srcs

thin_lto

version_universe

weak_framework_names

within_view


cxx_genrule

def cxx_genrule(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_exec_os_type: default_only = None,
bash: [None, str.type] = None,
cacheable: [None, bool.type] = None,
cmd: [None, str.type] = None,
cmd_exe: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
default_outs: [None, [str.type]] = None,
enable_sandbox: [None, bool.type] = None,
environment_expansion_separator: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
need_android_tools: bool.type = None,
out: [None, str.type] = None,
outs: [None, {str.type: [str.type]}] = None,
remote: [None, bool.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
type: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_toolchain

_exec_os_type

bash

cacheable

cmd

cmd_exe

contacts

default_host_platform

default_outs

enable_sandbox

environment_expansion_separator

labels

licenses

need_android_tools

out

outs

remote

srcs

type

within_view


cxx_library

def cxx_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_hacks: default_only = None,
_cxx_toolchain: default_only = None,
_is_building_android_binary: default_only = None,
_omnibus_environment: [None, str.type] = None,
allow_huge_dwp: bool.type = None,
auto_link_groups: bool.type = None,
bridging_header: [None, str.type] = None,
can_be_asset: [None, bool.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
devirt_enabled: bool.type = None,
diagnostics: {str.type: str.type} = None,
executable_name: [None, str.type] = None,
exported_deps: [str.type] = None,
exported_header_style: str.type = None,
exported_headers: [{str.type: str.type}, [str.type]] = None,
exported_lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
exported_lang_preprocessor_flags: {str.type: [str.type]} = None,
exported_linker_flags: [str.type] = None,
exported_platform_deps: [(str.type, [str.type])] = None,
exported_platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
exported_platform_linker_flags: [(str.type, [str.type])] = None,
exported_platform_preprocessor_flags: [(str.type, [str.type])] = None,
exported_post_linker_flags: [str.type] = None,
exported_post_platform_linker_flags: [(str.type, [str.type])] = None,
exported_preprocessor_flags: [str.type] = None,
extra_xcode_files: [str.type] = None,
extra_xcode_sources: [str.type] = None,
fat_lto: bool.type = None,
focused_list_target: [None, str.type] = None,
force_emit_omnibus_shared_root: bool.type = None,
force_static: [None, bool.type] = None,
frameworks: [str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
include_in_android_merge_map_output: bool.type = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
link_deps_query_whole: bool.type = None,
link_group: [None, str.type] = None,
link_group_map: [None, [str.type, [(str.type, [([None, str.type], str.type, [None, str.type], [None, str.type])])]]] = None,
link_style: [None, str.type] = None,
link_whole: [None, bool.type] = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
module_name: [None, str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
prefer_stripped_objects: bool.type = None,
preferred_linkage: str.type = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
public_include_directories: [str.type] = None,
public_system_include_directories: [str.type] = None,
raw_headers: [str.type] = None,
reexport_all_header_dependencies: [None, bool.type] = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
sdk_modules: [str.type] = None,
soname: [None, str.type] = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
static_library_basename: [None, str.type] = None,
supported_platforms_regex: [None, str.type] = None,
supports_merged_linking: [None, bool.type] = None,
supports_python_dlopen: [None, bool.type] = None,
thin_lto: bool.type = None,
use_archive: [None, bool.type] = None,
used_by_wrap_script: bool.type = None,
uses_cxx_explicit_modules: bool.type = None,
uses_explicit_modules: bool.type = None,
version_universe: [None, str.type] = None,
weak_framework_names: [str.type] = None,
within_view: [None, [None, [str.type]]] = None,
xcode_private_headers_symlinks: [None, bool.type] = None,
xcode_public_headers_symlinks: [None, bool.type] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_hacks

_cxx_toolchain

_is_building_android_binary

_omnibus_environment

allow_huge_dwp

auto_link_groups

bridging_header

can_be_asset

compiler_flags

contacts

cxx_runtime_type

default_host_platform

default_platform

defaults

deps

deps_query

devirt_enabled

diagnostics

executable_name

exported_deps

exported_header_style

exported_headers

exported_lang_platform_preprocessor_flags

exported_lang_preprocessor_flags

exported_linker_flags

exported_platform_deps

exported_platform_headers

exported_platform_linker_flags

exported_platform_preprocessor_flags

exported_post_linker_flags

exported_post_platform_linker_flags

exported_preprocessor_flags

extra_xcode_files

extra_xcode_sources

fat_lto

focused_list_target

force_emit_omnibus_shared_root

force_static

frameworks

header_namespace

headers

headers_as_raw_headers_mode

include_directories

include_in_android_merge_map_output

labels

lang_compiler_flags

lang_platform_compiler_flags

lang_platform_preprocessor_flags

lang_preprocessor_flags

libraries

licenses

link_deps_query_whole

link_group

link_group_map

link_style

link_whole

linker_extra_outputs

linker_flags

module_name

platform_compiler_flags

platform_deps

platform_headers

platform_linker_flags

platform_preprocessor_flags

platform_srcs

post_linker_flags

post_platform_linker_flags

precompiled_header

prefer_stripped_objects

preferred_linkage

prefix_header

preprocessor_flags

public_include_directories

public_system_include_directories

raw_headers

reexport_all_header_dependencies

resources

sdk_modules

soname

srcs

static_library_basename

supported_platforms_regex

supports_merged_linking

supports_python_dlopen

thin_lto

use_archive

used_by_wrap_script

uses_cxx_explicit_modules

uses_explicit_modules

version_universe

weak_framework_names

within_view

xcode_private_headers_symlinks

xcode_public_headers_symlinks


cxx_lua_extension

def cxx_lua_extension(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
base_module: [None, str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
executable_name: [None, str.type] = None,
frameworks: [str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
raw_headers: [str.type] = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
version_universe: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

base_module

compiler_flags

contacts

cxx_runtime_type

default_host_platform

default_platform

defaults

deps

executable_name

frameworks

header_namespace

headers

headers_as_raw_headers_mode

include_directories

labels

lang_compiler_flags

lang_platform_compiler_flags

lang_platform_preprocessor_flags

lang_preprocessor_flags

libraries

licenses

linker_extra_outputs

linker_flags

platform_compiler_flags

platform_deps

platform_headers

platform_linker_flags

platform_preprocessor_flags

platform_srcs

post_linker_flags

post_platform_linker_flags

precompiled_header

prefix_header

preprocessor_flags

raw_headers

srcs

version_universe

within_view


cxx_precompiled_header

def cxx_precompiled_header(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
src: str.type,
version_universe: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

labels

licenses

src

version_universe

within_view


cxx_python_extension

def cxx_python_extension(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_hacks: default_only = None,
_cxx_toolchain: default_only = None,
_omnibus_environment: [None, str.type] = None,
_python_toolchain: default_only = None,
allow_embedding: bool.type = None,
allow_huge_dwp: bool.type = None,
allow_suffixing: bool.type = None,
auto_link_groups: bool.type = None,
base_module: [None, str.type] = None,
bridging_header: default_only = None,
can_be_asset: default_only = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
devirt_enabled: default_only = None,
diagnostics: default_only = None,
executable_name: [None, str.type] = None,
exported_deps: default_only = None,
exported_header_style: default_only = None,
exported_headers: default_only = None,
exported_lang_platform_preprocessor_flags: default_only = None,
exported_lang_preprocessor_flags: default_only = None,
exported_linker_flags: default_only = None,
exported_platform_deps: default_only = None,
exported_platform_headers: default_only = None,
exported_platform_linker_flags: default_only = None,
exported_platform_preprocessor_flags: default_only = None,
exported_post_linker_flags: default_only = None,
exported_post_platform_linker_flags: default_only = None,
exported_preprocessor_flags: default_only = None,
extra_xcode_files: default_only = None,
extra_xcode_sources: default_only = None,
fat_lto: default_only = None,
focused_list_target: default_only = None,
force_static: default_only = None,
frameworks: [str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
include_in_android_merge_map_output: default_only = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
link_group: default_only = None,
link_group_map: default_only = None,
link_style: [None, str.type] = None,
link_whole: default_only = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
module_name: [None, str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
preferred_linkage: default_only = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
public_include_directories: default_only = None,
public_system_include_directories: default_only = None,
raw_headers: [str.type] = None,
reexport_all_header_dependencies: default_only = None,
resources: default_only = None,
sdk_modules: default_only = None,
soname: default_only = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
static_library_basename: default_only = None,
suffix_all: bool.type = None,
supported_platforms_regex: default_only = None,
supports_merged_linking: default_only = None,
thin_lto: default_only = None,
type_stub: [None, str.type] = None,
use_archive: default_only = None,
used_by_wrap_script: default_only = None,
uses_cxx_explicit_modules: default_only = None,
uses_explicit_modules: default_only = None,
version_universe: [None, str.type] = None,
weak_framework_names: default_only = None,
within_view: [None, [None, [str.type]]] = None,
xcode_private_headers_symlinks: default_only = None,
xcode_public_headers_symlinks: default_only = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_hacks

_cxx_toolchain

_omnibus_environment

_python_toolchain

allow_embedding

allow_huge_dwp

allow_suffixing

auto_link_groups

base_module

bridging_header

can_be_asset

compiler_flags

contacts

cxx_runtime_type

default_host_platform

default_platform

defaults

deps

devirt_enabled

diagnostics

executable_name

exported_deps

exported_header_style

exported_headers

exported_lang_platform_preprocessor_flags

exported_lang_preprocessor_flags

exported_linker_flags

exported_platform_deps

exported_platform_headers

exported_platform_linker_flags

exported_platform_preprocessor_flags

exported_post_linker_flags

exported_post_platform_linker_flags

exported_preprocessor_flags

extra_xcode_files

extra_xcode_sources

fat_lto

focused_list_target

force_static

frameworks

header_namespace

headers

headers_as_raw_headers_mode

include_directories

include_in_android_merge_map_output

labels

lang_compiler_flags

lang_platform_compiler_flags

lang_platform_preprocessor_flags

lang_preprocessor_flags

libraries

licenses

link_group

link_group_map

link_style

link_whole

linker_extra_outputs

linker_flags

module_name

platform_compiler_flags

platform_deps

platform_headers

platform_linker_flags

platform_preprocessor_flags

platform_srcs

post_linker_flags

post_platform_linker_flags

precompiled_header

preferred_linkage

prefix_header

preprocessor_flags

public_include_directories

public_system_include_directories

raw_headers

reexport_all_header_dependencies

resources

sdk_modules

soname

srcs

static_library_basename

suffix_all

supported_platforms_regex

supports_merged_linking

thin_lto

type_stub

use_archive

used_by_wrap_script

uses_cxx_explicit_modules

uses_explicit_modules

version_universe

weak_framework_names

within_view

xcode_private_headers_symlinks

xcode_public_headers_symlinks


cxx_test

def cxx_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_hacks: str.type = None,
_cxx_toolchain: default_only = None,
_inject_test_env: default_only = None,
additional_coverage_targets: [str.type] = None,
allow_huge_dwp: bool.type = None,
args: [str.type] = None,
auto_link_groups: bool.type = None,
binary_linker_flags: [str.type] = None,
bolt_flags: [str.type] = None,
bolt_gdb_index: [None, str.type] = None,
bolt_profile: [None, str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
devirt_enabled: bool.type = None,
enable_distributed_thinlto: bool.type = None,
env: {str.type: str.type} = None,
executable_name: [None, str.type] = None,
fat_lto: bool.type = None,
focused_list_target: [None, str.type] = None,
framework: [None, str.type] = None,
frameworks: [str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
link_deps_query_whole: bool.type = None,
link_group: [None, str.type] = None,
link_group_map: [None, [str.type, [(str.type, [([None, str.type], str.type, [None, str.type], [None, str.type])])]]] = None,
link_style: [None, str.type] = None,
link_whole: default_only = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
prefer_stripped_objects: bool.type = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
raw_headers: [str.type] = None,
remote_execution: [None, {str.type: str.type}] = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
run_test_separately: [None, bool.type] = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
test_rule_timeout_ms: [None, int.type] = None,
thin_lto: bool.type = None,
use_default_test_main: [None, bool.type] = None,
version_universe: [None, str.type] = None,
weak_framework_names: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_hacks

_cxx_toolchain

_inject_test_env

additional_coverage_targets

allow_huge_dwp

args

auto_link_groups

binary_linker_flags

bolt_flags

bolt_gdb_index

bolt_profile

compiler_flags

contacts

cxx_runtime_type

default_host_platform

default_platform

defaults

deps

deps_query

devirt_enabled

enable_distributed_thinlto

env

executable_name

fat_lto

focused_list_target

framework

frameworks

header_namespace

headers

headers_as_raw_headers_mode

include_directories

labels

lang_compiler_flags

lang_platform_compiler_flags

lang_platform_preprocessor_flags

lang_preprocessor_flags

libraries

licenses

link_deps_query_whole

link_group

link_group_map

link_style

link_whole

linker_extra_outputs

linker_flags

platform_compiler_flags

platform_deps

platform_headers

platform_linker_flags

platform_preprocessor_flags

platform_srcs

post_linker_flags

post_platform_linker_flags

precompiled_header

prefer_stripped_objects

prefix_header

preprocessor_flags

raw_headers

remote_execution

resources

run_test_separately

srcs

test_rule_timeout_ms

thin_lto

use_default_test_main

version_universe

weak_framework_names

within_view


cxx_toolchain

def cxx_toolchain(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_dep_files_processor: str.type = None,
_dist_lto_tools: default_only = None,
_mk_comp_db: default_only = None,
_mk_hmap: default_only = None,
_msvc_hermetic_exec: default_only = None,
archive_contents: str.type = None,
archiver: str.type,
archiver_flags: [str.type] = None,
archiver_supports_argfiles: bool.type = None,
archiver_type: str.type,
asm_compiler: [None, str.type] = None,
asm_compiler_flags: [str.type] = None,
asm_compiler_type: [None, str.type] = None,
asm_preprocessor: [None, str.type] = None,
asm_preprocessor_flags: [str.type] = None,
asm_preprocessor_type: [None, str.type] = None,
assembler: str.type,
assembler_flags: [str.type] = None,
assembler_preprocessor: [None, str.type] = None,
assembler_preprocessor_flags: [str.type] = None,
assembler_preprocessor_type: [None, str.type] = None,
assembler_type: [None, str.type] = None,
binary_extension: [None, str.type] = None,
bolt_enabled: bool.type = None,
c_compiler: str.type,
c_compiler_flags: [str.type] = None,
c_compiler_type: [None, str.type] = None,
c_preprocessor_flags: [str.type] = None,
cache_links: bool.type = None,
compiler_type: [None, str.type] = None,
conflicting_header_basename_exemptions: [str.type] = None,
contacts: [str.type] = None,
cuda_compiler: [None, str.type] = None,
cuda_compiler_flags: [str.type] = None,
cuda_compiler_type: [None, str.type] = None,
cuda_preprocessor_flags: [str.type] = None,
cxx_compiler: str.type,
cxx_compiler_flags: [str.type] = None,
cxx_compiler_type: [None, str.type] = None,
cxx_preprocessor_flags: [str.type] = None,
debug_path_prefix_map_sanitizer_format: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
detailed_untracked_header_messages: bool.type = None,
filepath_length_limited: bool.type = None,
headers_as_raw_headers_mode: [None, str.type] = None,
headers_whitelist: [str.type] = None,
hip_compiler: [None, str.type] = None,
hip_compiler_flags: [str.type] = None,
hip_compiler_type: [None, str.type] = None,
hip_preprocessor_flags: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_ordering: str.type = None,
link_path_normalization_args_enabled: bool.type = None,
linker: str.type,
linker_flags: [str.type] = None,
linker_type: str.type,
nm: str.type,
objcopy_for_shared_library_interface: str.type,
objcopy_recalculates_layout: bool.type = None,
object_file_extension: str.type = None,
pic_type_for_shared_linking: str.type = None,
platform_name: [None, str.type] = None,
private_headers_symlinks_enabled: bool.type = None,
public_headers_symlinks_enabled: bool.type = None,
ranlib: [None, str.type] = None,
ranlib_flags: [str.type] = None,
requires_archives: bool.type = None,
requires_objects: bool.type = None,
shared_dep_runtime_ld_flags: [str.type] = None,
shared_library_extension: str.type = None,
shared_library_interface_flags: [str.type] = None,
shared_library_interface_type: str.type,
shared_library_versioned_extension_format: str.type = None,
split_debug_mode: str.type = None,
static_dep_runtime_ld_flags: [str.type] = None,
static_library_extension: str.type = None,
static_pic_dep_runtime_ld_flags: [str.type] = None,
strip: str.type,
strip_all_flags: [None, [str.type]] = None,
strip_debug_flags: [None, [str.type]] = None,
strip_non_global_flags: [None, [str.type]] = None,
supports_distributed_thinlto: bool.type = None,
use_archiver_flags: bool.type = None,
use_arg_file: bool.type = None,
use_dep_files: [None, bool.type] = None,
use_header_map: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_dep_files_processor

_dist_lto_tools

_mk_comp_db

_mk_hmap

_msvc_hermetic_exec

archive_contents

archiver

archiver_flags

archiver_supports_argfiles

archiver_type

asm_compiler

asm_compiler_flags

asm_compiler_type

asm_preprocessor

asm_preprocessor_flags

asm_preprocessor_type

assembler

assembler_flags

assembler_preprocessor

assembler_preprocessor_flags

assembler_preprocessor_type

assembler_type

binary_extension

bolt_enabled

c_compiler

c_compiler_flags

c_compiler_type

c_preprocessor_flags

cache_links

compiler_type

conflicting_header_basename_exemptions

contacts

cuda_compiler

cuda_compiler_flags

cuda_compiler_type

cuda_preprocessor_flags

cxx_compiler

cxx_compiler_flags

cxx_compiler_type

cxx_preprocessor_flags

debug_path_prefix_map_sanitizer_format

default_host_platform

detailed_untracked_header_messages

filepath_length_limited

headers_as_raw_headers_mode

headers_whitelist

hip_compiler

hip_compiler_flags

hip_compiler_type

hip_preprocessor_flags

labels

licenses

link_ordering

link_path_normalization_args_enabled

linker

linker_flags

linker_type

nm

objcopy_for_shared_library_interface

objcopy_recalculates_layout

object_file_extension

pic_type_for_shared_linking

platform_name

private_headers_symlinks_enabled

public_headers_symlinks_enabled

ranlib

ranlib_flags

requires_archives

requires_objects

shared_dep_runtime_ld_flags

shared_library_extension

shared_library_interface_flags

shared_library_interface_type

shared_library_versioned_extension_format

split_debug_mode

static_dep_runtime_ld_flags

static_library_extension

static_pic_dep_runtime_ld_flags

strip

strip_all_flags

strip_debug_flags

strip_non_global_flags

supports_distributed_thinlto

use_archiver_flags

use_arg_file

use_dep_files

use_header_map

within_view


d_binary

def d_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

labels

licenses

linker_flags

srcs

within_view


d_library

def d_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

labels

licenses

linker_flags

srcs

within_view


d_test

def d_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
test_rule_timeout_ms: [None, int.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

labels

licenses

linker_flags

srcs

test_rule_timeout_ms

within_view


debug

def debug(val: "") -> str.type

Print the value with full debug formatting. The result may not be stable over time, mostly intended for debugging purposes.


enum

def enum(*args: UNKNOWN) -> ""

erlang_app

def erlang_app(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_toolchain: str.type = None,
app_src: [None, str.type] = None,
applications: [str.type] = None,
build_edoc_chunks: bool.type = None,
contacts: [str.type] = None,
erl_opts: [None, [str.type]] = None,
extra_includes: [str.type] = None,
included_applications: [str.type] = None,
includes: [str.type] = None,
labels: [str.type] = None,
mod: [None, (str.type, [str.type])] = None,
resources: [str.type] = None,
shell_configs: [str.type] = None,
shell_libs: [str.type] = None,
srcs: [str.type] = None,
use_global_parse_transforms: bool.type = None,
version: str.type = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_toolchain

app_src

applications

build_edoc_chunks

contacts

erl_opts

extra_includes

included_applications

includes

labels

mod

resources

shell_configs

shell_libs

srcs

use_global_parse_transforms

version


erlang_app_includes

def erlang_app_includes(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_toolchain: str.type = None,
application_name: str.type,
contacts: [str.type] = None,
includes: [str.type] = None,
labels: [str.type] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_toolchain

application_name

contacts

includes

labels


erlang_application

def erlang_application(**kwargs: UNKNOWN) -> UNKNOWN

erlang_escript

def erlang_escript(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_toolchain: str.type = None,
contacts: [str.type] = None,
deps: [str.type],
emu_args: [str.type] = None,
include_priv: bool.type = None,
labels: [str.type] = None,
main_module: [None, str.type] = None,
resources: [str.type] = None,
script_name: [None, str.type] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_toolchain

contacts

deps

emu_args

include_priv

labels

main_module

resources

script_name


erlang_otp_binaries

def erlang_otp_binaries(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
erl: str.type,
erlc: str.type,
escript: str.type,
labels: [str.type] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

erl

erlc

escript

labels


erlang_rebar3_interface

def erlang_rebar3_interface(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

deps

labels


erlang_release

def erlang_release(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_toolchain: str.type = None,
applications: [[str.type, (str.type, str.type)]],
contacts: [str.type] = None,
include_erts: bool.type = None,
labels: [str.type] = None,
multi_toolchain: [None, [str.type]] = None,
overlays: {str.type: [str.type]} = None,
release_name: [None, str.type] = None,
version: str.type = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_toolchain

applications

contacts

include_erts

labels

multi_toolchain

overlays

release_name

version


erlang_test

def erlang_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cli_lib: str.type = None,
_ct_opts: str.type = None,
_providers: str.type,
_test_binary: str.type = None,
_test_binary_lib: str.type = None,
_toolchain: str.type = None,
_trampoline: [None, str.type] = None,
config_files: [str.type] = None,
contacts: [str.type] = None,
deps: [str.type] = None,
env: {str.type: str.type} = None,
extra_ct_hooks: [str.type] = None,
labels: [str.type] = None,
property_tests: [str.type] = None,
resources: [str.type] = None,
shell_configs: [str.type] = None,
shell_libs: [str.type] = None,
suite: str.type
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cli_lib

_ct_opts

_providers

_test_binary

_test_binary_lib

_toolchain

_trampoline

config_files

contacts

deps

env

extra_ct_hooks

labels

property_tests

resources

shell_configs

shell_libs

suite


erlang_tests

def erlang_tests(**kwargs: UNKNOWN) -> UNKNOWN

experimental_regex

def experimental_regex(regex: str.type) -> "regex"

Creates a regex which can be used for matching


export_file

def export_file(name: UNKNOWN, src: UNKNOWN = None, **kwargs: UNKNOWN) -> UNKNOWN

external_test_runner

def external_test_runner(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
binary: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

binary

contacts

default_host_platform

labels

licenses

within_view


extract_archive

def extract_archive(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contents_archive: str.type,
directory_name: [None, str.type] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contents_archive

directory_name


field

def field(typ: "", default: [None, ""] = None) -> "field"

Creates a field record.

Details

Examples:

rec_type = record(host=field(str.type), port=field(int.type), mask=field(int.type, default=255))
rec = rec_type(host="localhost", port=80)
rec.port == 80
rec.mask == 255

filegroup

def filegroup(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

labels

licenses

srcs

within_view


filter

def filter(func: "", seq: iter("")) -> [""]

gen_aidl

def gen_aidl(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_java_toolchain: str.type = None,
aidl: str.type,
aidl_srcs: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
import_path: str.type = None,
import_paths: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_android_toolchain

_java_toolchain

aidl

aidl_srcs

contacts

default_host_platform

deps

import_path

import_paths

labels

licenses

within_view


genrule

def genrule(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_exec_os_type: default_only = None,
bash: [None, str.type] = None,
cacheable: [None, bool.type] = None,
cmd: [None, str.type] = None,
cmd_exe: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
default_outs: [None, [str.type]] = None,
enable_sandbox: [None, bool.type] = None,
env: {str.type: str.type} = None,
environment_expansion_separator: [None, str.type] = None,
executable: [None, bool.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
need_android_tools: bool.type = None,
out: [None, str.type] = None,
outs: [None, {str.type: [str.type]}] = None,
remote: [None, bool.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
type: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_exec_os_type

bash

cacheable

cmd

cmd_exe

contacts

default_host_platform

default_outs

enable_sandbox

env

environment_expansion_separator

executable

labels

licenses

need_android_tools

out

outs

remote

srcs

type

within_view


get_base_path

def get_base_path() -> str.type

get_cell_name

def get_cell_name() -> str.type

glob

def glob(include: [str.type], *, exclude: [None, [str.type]] = None) -> ""

go_binary

def go_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_go_toolchain: default_only = None,
assembler_flags: [str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
embedcfg: [None, str.type] = None,
external_linker_flags: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_mode: [None, str.type] = None,
link_style: [None, str.type] = None,
linker_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_external_linker_flags: [(str.type, [str.type])] = None,
resources: [[str.type, str.type]] = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_go_toolchain

assembler_flags

compiler_flags

contacts

default_host_platform

deps

embedcfg

external_linker_flags

labels

licenses

link_mode

link_style

linker_flags

platform

platform_external_linker_flags

resources

srcs

within_view


go_exported_library

def go_exported_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
assembler_flags: [str.type] = None,
build_mode: str.type,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
external_linker_flags: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_mode: [None, str.type] = None,
link_style: [None, str.type] = None,
linker_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_external_linker_flags: [(str.type, [str.type])] = None,
resources: [str.type] = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

assembler_flags

build_mode

compiler_flags

contacts

default_host_platform

deps

external_linker_flags

labels

licenses

link_mode

link_style

linker_flags

platform

platform_external_linker_flags

resources

srcs

within_view


go_library

def go_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_go_toolchain: default_only = None,
assembler_flags: [str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
embedcfg: [None, str.type] = None,
exported_deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
package_name: [None, str.type] = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_go_toolchain

assembler_flags

compiler_flags

contacts

default_host_platform

deps

embedcfg

exported_deps

labels

licenses

package_name

srcs

within_view


go_test

def go_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_go_toolchain: default_only = None,
_inject_test_env: default_only = None,
_testmaingen: default_only = None,
assembler_flags: [str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
coverage_mode: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
embedcfg: [None, str.type] = None,
env: {str.type: str.type} = None,
external_linker_flags: [str.type] = None,
labels: [str.type] = None,
library: [None, str.type] = None,
licenses: [str.type] = None,
link_mode: [None, str.type] = None,
link_style: [None, str.type] = None,
linker_flags: [str.type] = None,
package_name: [None, str.type] = None,
platform: [None, str.type] = None,
resources: [str.type] = None,
run_test_separately: bool.type = None,
runner: [None, str.type] = None,
specs: [None, str.type] = None,
srcs: [str.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_go_toolchain

_inject_test_env

_testmaingen

assembler_flags

compiler_flags

contacts

coverage_mode

default_host_platform

deps

embedcfg

env

external_linker_flags

labels

library

licenses

link_mode

link_style

linker_flags

package_name

platform

resources

run_test_separately

runner

specs

srcs

test_rule_timeout_ms

within_view


go_test_runner

def go_test_runner(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
test_runner_generator: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

labels

licenses

test_runner_generator

within_view


groovy_library

def groovy_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_groovyc_arguments: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

annotation_processor_deps

annotation_processor_params

annotation_processors

contacts

default_host_platform

deps

exported_deps

exported_provided_deps

extra_arguments

extra_groovyc_arguments

java_version

javac

labels

licenses

manifest_file

maven_coords

never_mark_as_unused_dependency

on_unused_dependencies

plugins

proguard_config

provided_deps

remove_classes

required_for_source_only_abi

resources

resources_root

runtime_deps

source

source_abi_verification_mode

source_only_abi_deps

srcs

target

within_view


groovy_test

def groovy_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
cxx_library_whitelist: [str.type] = None,
default_cxx_platform: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
env: {str.type: str.type} = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_groovyc_arguments: [str.type] = None,
fork_mode: str.type = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
run_test_separately: bool.type = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
std_err_log_level: [None, [str.type, int.type]] = None,
std_out_log_level: [None, [str.type, int.type]] = None,
target: [None, str.type] = None,
test_case_timeout_ms: [None, int.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
test_type: [None, str.type] = None,
use_cxx_libraries: [None, bool.type] = None,
use_dependency_order_classpath: [None, bool.type] = None,
vm_args: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

annotation_processor_deps

annotation_processor_params

annotation_processors

contacts

cxx_library_whitelist

default_cxx_platform

default_host_platform

deps

deps_query

env

exported_deps

exported_provided_deps

extra_arguments

extra_groovyc_arguments

fork_mode

java_version

javac

labels

licenses

manifest_file

maven_coords

never_mark_as_unused_dependency

on_unused_dependencies

plugins

proguard_config

provided_deps

remove_classes

required_for_source_only_abi

resources

resources_root

run_test_separately

runtime_deps

source

source_abi_verification_mode

source_only_abi_deps

srcs

std_err_log_level

std_out_log_level

target

test_case_timeout_ms

test_rule_timeout_ms

test_type

use_cxx_libraries

use_dependency_order_classpath

vm_args

within_view


gwt_binary

def gwt_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
draft_compile: [None, bool.type] = None,
experimental_args: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
local_workers: [None, int.type] = None,
module_deps: [str.type] = None,
modules: [str.type] = None,
optimize: [None, int.type] = None,
strict: [None, bool.type] = None,
style: [None, str.type] = None,
vm_args: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

draft_compile

experimental_args

labels

licenses

local_workers

module_deps

modules

optimize

strict

style

vm_args

within_view


halide_library

def halide_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
compiler_deps: [str.type] = None,
compiler_flags: [str.type] = None,
compiler_invocation_flags: [str.type] = None,
configs: {str.type: {str.type: str.type}} = None,
contacts: [str.type] = None,
cxx_runtime_type: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
defaults: {str.type: str.type} = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
devirt_enabled: bool.type = None,
executable_name: [None, str.type] = None,
fat_lto: bool.type = None,
focused_list_target: [None, str.type] = None,
frameworks: [str.type] = None,
function_name: [None, str.type] = None,
header_namespace: [None, str.type] = None,
headers: [{str.type: str.type}, [str.type]] = None,
headers_as_raw_headers_mode: [None, str.type] = None,
include_directories: [str.type] = None,
labels: [str.type] = None,
lang_compiler_flags: {str.type: [str.type]} = None,
lang_platform_compiler_flags: {str.type: [(str.type, [str.type])]} = None,
lang_platform_preprocessor_flags: {str.type: [(str.type, [str.type])]} = None,
lang_preprocessor_flags: {str.type: [str.type]} = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
link_deps_query_whole: bool.type = None,
link_group: [None, str.type] = None,
link_group_map: [None, [(str.type, [(str.type, str.type, [None, str.type])])]] = None,
link_style: [None, str.type] = None,
linker_extra_outputs: [str.type] = None,
linker_flags: [str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preprocessor_flags: [(str.type, [str.type])] = None,
platform_srcs: [(str.type, [[str.type, (str.type, [str.type])]])] = None,
post_linker_flags: [str.type] = None,
post_platform_linker_flags: [(str.type, [str.type])] = None,
precompiled_header: [None, str.type] = None,
prefer_stripped_objects: bool.type = None,
prefix_header: [None, str.type] = None,
preprocessor_flags: [str.type] = None,
raw_headers: [str.type] = None,
srcs: [[str.type, (str.type, [str.type])]] = None,
supported_platforms_regex: [None, str.type] = None,
thin_lto: bool.type = None,
version_universe: [None, str.type] = None,
weak_framework_names: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

compiler_deps

compiler_flags

compiler_invocation_flags

configs

contacts

cxx_runtime_type

default_host_platform

default_platform

defaults

deps

deps_query

devirt_enabled

executable_name

fat_lto

focused_list_target

frameworks

function_name

header_namespace

headers

headers_as_raw_headers_mode

include_directories

labels

lang_compiler_flags

lang_platform_compiler_flags

lang_platform_preprocessor_flags

lang_preprocessor_flags

libraries

licenses

link_deps_query_whole

link_group

link_group_map

link_style

linker_extra_outputs

linker_flags

platform_compiler_flags

platform_deps

platform_headers

platform_linker_flags

platform_preprocessor_flags

platform_srcs

post_linker_flags

post_platform_linker_flags

precompiled_header

prefer_stripped_objects

prefix_header

preprocessor_flags

raw_headers

srcs

supported_platforms_regex

thin_lto

version_universe

weak_framework_names

within_view


haskell_binary

def haskell_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_haskell_toolchain: default_only = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
enable_profiling: bool.type = None,
ghci_platform_preload_deps: [(str.type, [str.type])] = None,
ghci_preload_deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_deps_query_whole: bool.type = None,
link_style: [None, str.type] = None,
linker_flags: [str.type] = None,
main: [None, str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
template_deps: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_toolchain

_haskell_toolchain

compiler_flags

contacts

default_host_platform

deps

deps_query

enable_profiling

ghci_platform_preload_deps

ghci_preload_deps

labels

licenses

link_deps_query_whole

link_style

linker_flags

main

platform

platform_deps

platform_linker_flags

srcs

template_deps

within_view


haskell_ghci

def haskell_ghci(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
enable_profiling: bool.type = None,
extra_script_templates: [str.type] = None,
ghci_bin_dep: [None, str.type] = None,
ghci_init: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_preload_deps: [(str.type, [str.type])] = None,
preload_deps: [str.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

compiler_flags

contacts

default_host_platform

deps

deps_query

enable_profiling

extra_script_templates

ghci_bin_dep

ghci_init

labels

licenses

linker_flags

platform

platform_deps

platform_preload_deps

preload_deps

srcs

within_view


haskell_haddock

def haskell_haddock(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
haddock_flags: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
platform: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

deps_query

haddock_flags

labels

licenses

platform

within_view


haskell_ide

def haskell_ide(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_haskell_toolchain: default_only = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
extra_script_templates: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_style: str.type,
linker_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_haskell_toolchain

compiler_flags

contacts

default_host_platform

deps

deps_query

extra_script_templates

labels

licenses

link_style

linker_flags

platform

platform_deps

srcs

within_view


haskell_library

def haskell_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_haskell_toolchain: default_only = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
enable_profiling: bool.type = None,
ghci_platform_preload_deps: [(str.type, [str.type])] = None,
ghci_preload_deps: [str.type] = None,
haddock_flags: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_whole: bool.type = None,
linker_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
preferred_linkage: str.type = None,
srcs: [{str.type: str.type}, [str.type]] = None,
template_deps: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_toolchain

_haskell_toolchain

compiler_flags

contacts

default_host_platform

deps

enable_profiling

ghci_platform_preload_deps

ghci_preload_deps

haddock_flags

labels

licenses

link_whole

linker_flags

platform

platform_deps

platform_linker_flags

preferred_linkage

srcs

template_deps

within_view


haskell_prebuilt_library

def haskell_prebuilt_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
cxx_header_dirs: [str.type] = None,
db: str.type,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
enable_profiling: bool.type = None,
exported_compiler_flags: [str.type] = None,
exported_linker_flags: [str.type] = None,
id: str.type = None,
import_dirs: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
pic_profiled_static_libs: [str.type] = None,
pic_static_libs: [str.type] = None,
profiled_static_libs: [str.type] = None,
shared_libs: {str.type: str.type} = None,
static_libs: [str.type] = None,
version: str.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

cxx_header_dirs

db

default_host_platform

deps

enable_profiling

exported_compiler_flags

exported_linker_flags

id

import_dirs

labels

licenses

pic_profiled_static_libs

pic_static_libs

profiled_static_libs

shared_libs

static_libs

version

within_view


host_info

def host_info() -> ""

http_archive

def http_archive(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_create_exclusion_list: default_only = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
excludes: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
out: [None, str.type] = None,
sha1: [None, str.type] = None,
sha256: [None, str.type] = None,
strip_prefix: [None, str.type] = None,
type: [None, str.type] = None,
urls: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_create_exclusion_list

contacts

default_host_platform

excludes

labels

licenses

out

sha1

sha256

strip_prefix

type

urls

within_view


http_file

def http_file(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
executable: [None, bool.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
out: [None, str.type] = None,
sha1: [None, str.type] = None,
sha256: [None, str.type] = None,
urls: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

executable

labels

licenses

out

sha1

sha256

urls

within_view


implicit_package_symbol

def implicit_package_symbol(name: str.type, default: [None, ""] = None) -> ""

jar_genrule

def jar_genrule(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_java_toolchain: str.type = None,
bash: [None, str.type] = None,
cacheable: [None, bool.type] = None,
cmd: [None, str.type] = None,
cmd_exe: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
enable_sandbox: [None, bool.type] = None,
environment_expansion_separator: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
need_android_tools: bool.type = None,
remote: [None, bool.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
type: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_java_toolchain

bash

cacheable

cmd

cmd_exe

contacts

default_host_platform

enable_sandbox

environment_expansion_separator

labels

licenses

need_android_tools

remote

srcs

type

within_view


java_annotation_processor

def java_annotation_processor(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
does_not_affect_abi: bool.type = None,
isolate_class_loader: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
processor_class: str.type = None,
supports_abi_generation_from_source: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_build_only_native_code

contacts

default_host_platform

deps

does_not_affect_abi

isolate_class_loader

labels

licenses

processor_class

supports_abi_generation_from_source

within_view


java_binary

def java_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
_java_toolchain: str.type = None,
blacklist: [str.type] = None,
contacts: [str.type] = None,
default_cxx_platform: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
generate_wrapper: bool.type = None,
java_args_for_run_info: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
main_class: [None, str.type] = None,
manifest_file: [None, str.type] = None,
meta_inf_directory: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_build_only_native_code

_java_toolchain

blacklist

contacts

default_cxx_platform

default_host_platform

deps

generate_wrapper

java_args_for_run_info

labels

licenses

main_class

manifest_file

meta_inf_directory

within_view


java_library

def java_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
_dex_min_sdk_version: [None, int.type] = None,
_dex_toolchain: [None, str.type] = None,
_is_building_android_binary: default_only = None,
_java_toolchain: str.type = None,
abi_generation_mode: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, [str.type, str.type]] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_build_only_native_code

_dex_min_sdk_version

_dex_toolchain

_is_building_android_binary

_java_toolchain

abi_generation_mode

annotation_processor_deps

annotation_processor_params

annotation_processors

contacts

default_host_platform

deps

exported_deps

exported_provided_deps

extra_arguments

java_version

javac

labels

licenses

manifest_file

maven_coords

never_mark_as_unused_dependency

on_unused_dependencies

plugins

proguard_config

provided_deps

remove_classes

required_for_source_only_abi

resources

resources_root

runtime_deps

source

source_abi_verification_mode

source_only_abi_deps

srcs

target

within_view


java_plugin

def java_plugin(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
does_not_affect_abi: bool.type = None,
isolate_class_loader: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
plugin_name: str.type = None,
supports_abi_generation_from_source: bool.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_build_only_native_code

contacts

default_host_platform

deps

does_not_affect_abi

isolate_class_loader

labels

licenses

plugin_name

supports_abi_generation_from_source

within_view


java_test

def java_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
_inject_test_env: default_only = None,
_is_building_android_binary: default_only = None,
_java_test_toolchain: str.type = None,
_java_toolchain: str.type = None,
abi_generation_mode: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
cxx_library_whitelist: [str.type] = None,
default_cxx_platform: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
env: {str.type: str.type} = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
fork_mode: str.type = None,
java_version: [None, str.type] = None,
javac: [None, [str.type, str.type]] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
run_test_separately: bool.type = None,
runner: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
specs: [None, str.type] = None,
srcs: [str.type] = None,
std_err_log_level: [None, [str.type, int.type]] = None,
std_out_log_level: [None, [str.type, int.type]] = None,
target: [None, str.type] = None,
test_case_timeout_ms: [None, int.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
test_type: [None, str.type] = None,
use_cxx_libraries: [None, bool.type] = None,
use_dependency_order_classpath: [None, bool.type] = None,
vm_args: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_build_only_native_code

_inject_test_env

_is_building_android_binary

_java_test_toolchain

_java_toolchain

abi_generation_mode

annotation_processor_deps

annotation_processor_params

annotation_processors

contacts

cxx_library_whitelist

default_cxx_platform

default_host_platform

deps

deps_query

env

exported_deps

exported_provided_deps

extra_arguments

fork_mode

java_version

javac

labels

licenses

manifest_file

maven_coords

never_mark_as_unused_dependency

on_unused_dependencies

plugins

proguard_config

provided_deps

remove_classes

required_for_source_only_abi

resources

resources_root

run_test_separately

runner

runtime_deps

source

source_abi_verification_mode

source_only_abi_deps

specs

srcs

std_err_log_level

std_out_log_level

target

test_case_timeout_ms

test_rule_timeout_ms

test_type

use_cxx_libraries

use_dependency_order_classpath

vm_args

within_view


java_test_runner

def java_test_runner(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
abi_generation_mode: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
main_class: str.type = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

abi_generation_mode

annotation_processor_deps

annotation_processor_params

annotation_processors

contacts

default_host_platform

deps

exported_deps

exported_provided_deps

extra_arguments

java_version

javac

labels

licenses

main_class

manifest_file

maven_coords

never_mark_as_unused_dependency

on_unused_dependencies

plugins

proguard_config

provided_deps

remove_classes

required_for_source_only_abi

resources

resources_root

runtime_deps

source

source_abi_verification_mode

source_only_abi_deps

srcs

target

within_view


js_bundle

def js_bundle(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_is_release: bool.type = None,
_platform: str.type = None,
android_package: [None, str.type] = None,
bundle_name: [None, str.type] = None,
bundle_name_for_flavor: [(str.type, str.type)] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
entry: [[str.type], str.type],
extra_json: [None, str.type] = None,
fallback_transform_profile: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None,
worker: str.type
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_android_toolchain

_is_release

_platform

android_package

bundle_name

bundle_name_for_flavor

contacts

default_host_platform

deps

entry

extra_json

fallback_transform_profile

labels

licenses

within_view

worker


js_bundle_genrule

def js_bundle_genrule(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_is_release: bool.type = None,
_platform: str.type = None,
bash: [None, str.type] = None,
bundle_name: [None, str.type] = None,
bundle_name_for_flavor: [(str.type, str.type)] = None,
cacheable: [None, bool.type] = None,
cmd: [None, str.type] = None,
cmd_exe: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
enable_sandbox: [None, bool.type] = None,
environment_expansion_separator: [None, str.type] = None,
js_bundle: str.type,
labels: [str.type] = None,
licenses: [str.type] = None,
need_android_tools: bool.type = None,
remote: [None, bool.type] = None,
rewrite_deps_file: bool.type = None,
rewrite_misc: bool.type = None,
rewrite_sourcemap: bool.type = None,
skip_resources: bool.type = None,
srcs: [{str.type: str.type}, [str.type]] = None,
type: str.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_is_release

_platform

bash

bundle_name

bundle_name_for_flavor

cacheable

cmd

cmd_exe

contacts

default_host_platform

enable_sandbox

environment_expansion_separator

js_bundle

labels

licenses

need_android_tools

remote

rewrite_deps_file

rewrite_misc

rewrite_sourcemap

skip_resources

srcs

type

within_view


js_library

def js_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: bool.type = None,
_is_release: bool.type = None,
_platform: str.type = None,
asset_extensions: [None, [str.type]] = None,
asset_platforms: [None, [str.type]] = None,
base_path: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
extra_json: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
srcs: [[str.type, (str.type, str.type)]] = None,
within_view: [None, [None, [str.type]]] = None,
worker: str.type
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_build_only_native_code

_is_release

_platform

asset_extensions

asset_platforms

base_path

contacts

default_host_platform

deps

deps_query

extra_json

labels

licenses

srcs

within_view

worker


json : UNKNOWN


julia_binary

def julia_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_julia_toolchain: default_only = None,
deps: [str.type] = None,
julia_args: [str.type] = None,
julia_flags: [str.type] = None,
main: str.type,
srcs: [str.type] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_julia_toolchain

deps

julia_args

julia_flags

main

srcs


julia_library

def julia_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_julia_toolchain: default_only = None,
deps: [str.type] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_julia_toolchain

deps


julia_test

def julia_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_julia_toolchain: default_only = None,
deps: [str.type] = None,
julia_args: [str.type] = None,
julia_flags: [str.type] = None,
resources: [str.type] = None,
src: str.type
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_julia_toolchain

deps

julia_args

julia_flags

resources

src


keystore

def keystore(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
properties: str.type,
store: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

labels

licenses

properties

store

within_view


kotlin_library

def kotlin_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
_dex_min_sdk_version: [None, int.type] = None,
_dex_toolchain: [None, str.type] = None,
_is_building_android_binary: default_only = None,
_java_toolchain: str.type = None,
_kotlin_toolchain: str.type = None,
abi_generation_mode: [None, str.type] = None,
annotation_processing_tool: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_kotlinc_arguments: [str.type] = None,
friend_paths: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, [str.type, str.type]] = None,
kotlin_compiler_plugins: {str.type: {str.type: str.type}} = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
use_jvm_abi_gen: [None, bool.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_build_only_native_code

_dex_min_sdk_version

_dex_toolchain

_is_building_android_binary

_java_toolchain

_kotlin_toolchain

abi_generation_mode

annotation_processing_tool

annotation_processor_deps

annotation_processor_params

annotation_processors

contacts

default_host_platform

deps

exported_deps

exported_provided_deps

extra_arguments

extra_kotlinc_arguments

friend_paths

java_version

javac

kotlin_compiler_plugins

labels

licenses

manifest_file

maven_coords

never_mark_as_unused_dependency

on_unused_dependencies

plugins

proguard_config

provided_deps

remove_classes

required_for_source_only_abi

resources

resources_root

runtime_deps

source

source_abi_verification_mode

source_only_abi_deps

srcs

target

use_jvm_abi_gen

within_view


kotlin_test

def kotlin_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
_inject_test_env: default_only = None,
_is_building_android_binary: default_only = None,
_java_test_toolchain: str.type = None,
_java_toolchain: str.type = None,
_kotlin_toolchain: str.type = None,
abi_generation_mode: [None, str.type] = None,
annotation_processing_tool: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
cxx_library_whitelist: [str.type] = None,
default_cxx_platform: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
env: {str.type: str.type} = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_kotlinc_arguments: [str.type] = None,
fork_mode: str.type = None,
friend_paths: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, [str.type, str.type]] = None,
kotlin_compiler_plugins: {str.type: {str.type: str.type}} = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
run_test_separately: bool.type = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
std_err_log_level: [None, [str.type, int.type]] = None,
std_out_log_level: [None, [str.type, int.type]] = None,
target: [None, str.type] = None,
test_case_timeout_ms: [None, int.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
test_type: [None, str.type] = None,
use_cxx_libraries: [None, bool.type] = None,
use_dependency_order_classpath: [None, bool.type] = None,
use_jvm_abi_gen: [None, bool.type] = None,
vm_args: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_build_only_native_code

_inject_test_env

_is_building_android_binary

_java_test_toolchain

_java_toolchain

_kotlin_toolchain

abi_generation_mode

annotation_processing_tool

annotation_processor_deps

annotation_processor_params

annotation_processors

contacts

cxx_library_whitelist

default_cxx_platform

default_host_platform

deps

deps_query

env

exported_deps

exported_provided_deps

extra_arguments

extra_kotlinc_arguments

fork_mode

friend_paths

java_version

javac

kotlin_compiler_plugins

labels

licenses

manifest_file

maven_coords

never_mark_as_unused_dependency

on_unused_dependencies

plugins

proguard_config

provided_deps

remove_classes

required_for_source_only_abi

resources

resources_root

run_test_separately

runtime_deps

source

source_abi_verification_mode

source_only_abi_deps

srcs

std_err_log_level

std_out_log_level

target

test_case_timeout_ms

test_rule_timeout_ms

test_type

use_cxx_libraries

use_dependency_order_classpath

use_jvm_abi_gen

vm_args

within_view


legacy_toolchain

def legacy_toolchain(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
toolchain_name: str.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

labels

licenses

toolchain_name

within_view


def link_group_map(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
map: [(str.type, [(str.type, str.type, [None, str.type], [None, str.type])])]
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

map


load_symbols

def load_symbols(symbols: {"": ""}) -> None

lua_binary

def lua_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
main_module: str.type = None,
native_starter_library: [None, str.type] = None,
package_style: [None, str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
python_platform: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

labels

licenses

main_module

native_starter_library

package_style

platform

platform_deps

python_platform

within_view


lua_library

def lua_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
base_module: [None, str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

base_module

contacts

default_host_platform

deps

labels

licenses

platform_deps

srcs

within_view


map

def map(func: "", seq: iter("")) -> [""]

ndk_library

def ndk_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
flags: [str.type] = None,
is_asset: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

flags

is_asset

labels

licenses

srcs

within_view


ndk_toolchain

def ndk_toolchain(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
cxx_runtime: [None, str.type] = None,
cxx_toolchain: str.type,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
objdump: str.type,
shared_runtime_path: [None, str.type] = None,
strip_apk_libs_flags: [None, [str.type]] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

cxx_runtime

cxx_toolchain

default_host_platform

labels

licenses

objdump

shared_runtime_path

strip_apk_libs_flags

within_view


ocaml_binary

def ocaml_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_ocaml_toolchain: default_only = None,
bytecode_only: [None, bool.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
ocamldep_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
srcs: [None, [{str.type: str.type}, [str.type]]] = None,
warnings_flags: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_toolchain

_ocaml_toolchain

bytecode_only

compiler_flags

contacts

default_host_platform

deps

labels

licenses

linker_flags

ocamldep_flags

platform

platform_compiler_flags

platform_deps

platform_linker_flags

srcs

warnings_flags

within_view


ocaml_library

def ocaml_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_ocaml_toolchain: default_only = None,
bytecode_only: bool.type = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
native_plugin: bool.type = None,
ocamldep_flags: [str.type] = None,
platform_compiler_flags: [(str.type, [str.type])] = None,
platform_deps: [(str.type, [str.type])] = None,
srcs: [None, [{str.type: str.type}, [str.type]]] = None,
warnings_flags: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_toolchain

_ocaml_toolchain

bytecode_only

compiler_flags

contacts

default_host_platform

deps

labels

licenses

linker_flags

native_plugin

ocamldep_flags

platform_compiler_flags

platform_deps

srcs

warnings_flags

within_view


ocaml_object

def ocaml_object(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_ocaml_toolchain: default_only = None,
bytecode_only: [None, bool.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
ocamldep_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
srcs: [None, [{str.type: str.type}, [str.type]]] = None,
warnings_flags: [None, str.type] = None,
within_view: [None, [str.type]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_toolchain

_ocaml_toolchain

bytecode_only

compiler_flags

contacts

default_host_platform

deps

labels

licenses

linker_flags

ocamldep_flags

platform

platform_deps

platform_linker_flags

srcs

warnings_flags

within_view


ocaml_shared

def ocaml_shared(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_ocaml_toolchain: default_only = None,
bytecode_only: [None, bool.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
ocamldep_flags: [str.type] = None,
platform: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
srcs: [None, [{str.type: str.type}, [str.type]]] = None,
warnings_flags: [None, str.type] = None,
within_view: [None, [str.type]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_toolchain

_ocaml_toolchain

bytecode_only

compiler_flags

contacts

default_host_platform

deps

labels

licenses

linker_flags

ocamldep_flags

platform

platform_deps

platform_linker_flags

srcs

warnings_flags

within_view


oncall

def oncall(name: str.type) -> None

Called in a TARGETS/BUCK file to declare the oncall contact details for all the targets defined. Must be called at most once, before any targets have been declared. Errors if called from a .bzl file.


package

def package(*, inherit: bool.type = None, visibility: [str.type] = None, within_view: [str.type] = None) -> None

package_name

def package_name() -> str.type

partial

def partial(func: "", *args: UNKNOWN, **kwargs: {"": ""}) -> "function"

platform

def platform(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
constraint_values: [str.type] = None,
deps: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

constraint_values

deps

within_view


pprint

def pprint(*args: UNKNOWN) -> None

prebuilt_apple_framework

def prebuilt_apple_framework(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_apple_toolchain: str.type = None,
_omnibus_environment: [None, str.type] = None,
code_sign_on_copy: [None, bool.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_linker_flags: [str.type] = None,
exported_platform_linker_flags: [(str.type, [str.type])] = None,
framework: [None, str.type] = None,
frameworks: [str.type] = None,
labels: [str.type] = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
preferred_linkage: str.type = None,
supported_platforms_regex: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_apple_toolchain

_omnibus_environment

code_sign_on_copy

contacts

default_host_platform

deps

exported_linker_flags

exported_platform_linker_flags

framework

frameworks

labels

libraries

licenses

preferred_linkage

supported_platforms_regex

within_view


prebuilt_cxx_library

def prebuilt_cxx_library(
exported_preprocessor_flags: UNKNOWN = None,
versioned_exported_preprocessor_flags: UNKNOWN = None,
exported_lang_preprocessor_flags: UNKNOWN = None,
versioned_exported_lang_preprocessor_flags: UNKNOWN = None,
exported_platform_preprocessor_flags: UNKNOWN = None,
versioned_exported_platform_preprocessor_flags: UNKNOWN = None,
exported_lang_platform_preprocessor_flags: UNKNOWN = None,
versioned_exported_lang_platform_preprocessor_flags: UNKNOWN = None,
static_lib: UNKNOWN = None,
versioned_static_lib: UNKNOWN = None,
static_pic_lib: UNKNOWN = None,
versioned_static_pic_lib: UNKNOWN = None,
shared_lib: UNKNOWN = None,
versioned_shared_lib: UNKNOWN = None,
header_dirs: UNKNOWN = None,
versioned_header_dirs: UNKNOWN = None,
**kwargs: UNKNOWN
) -> UNKNOWN

prebuilt_cxx_library_group

def prebuilt_cxx_library_group(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
exported_platform_deps: [(str.type, [str.type])] = None,
exported_preprocessor_flags: [str.type] = None,
import_libs: {str.type: str.type} = None,
include_dirs: [str.type] = None,
include_in_android_merge_map_output: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
provided_shared_libs: {str.type: str.type} = None,
shared_libs: {str.type: str.type} = None,
shared_link: [str.type] = None,
static_libs: [str.type] = None,
static_link: [str.type] = None,
static_pic_libs: [str.type] = None,
static_pic_link: [str.type] = None,
supported_platforms_regex: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

exported_deps

exported_platform_deps

exported_preprocessor_flags

import_libs

include_dirs

include_in_android_merge_map_output

labels

licenses

provided_shared_libs

shared_libs

shared_link

static_libs

static_link

static_pic_libs

static_pic_link

supported_platforms_regex

within_view


prebuilt_dotnet_library

def prebuilt_dotnet_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
assembly: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

assembly

contacts

default_host_platform

labels

licenses

within_view


prebuilt_go_library

def prebuilt_go_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
labels: [str.type] = None,
library: str.type,
licenses: [str.type] = None,
package_name: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

exported_deps

labels

library

licenses

package_name

within_view


prebuilt_jar

def prebuilt_jar(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_build_only_native_code: default_only = None,
_dex_min_sdk_version: [None, int.type] = None,
_dex_toolchain: [None, str.type] = None,
_prebuilt_jar_toolchain: str.type = None,
binary_jar: str.type,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
generate_abi: bool.type = None,
javadoc_url: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: bool.type = None,
required_for_source_only_abi: bool.type = None,
source_jar: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_build_only_native_code

_dex_min_sdk_version

_dex_toolchain

_prebuilt_jar_toolchain

binary_jar

contacts

default_host_platform

deps

generate_abi

javadoc_url

labels

licenses

maven_coords

never_mark_as_unused_dependency

required_for_source_only_abi

source_jar

within_view


prebuilt_native_library

def prebuilt_native_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
has_wrap_script: bool.type = None,
is_asset: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
native_libs: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

has_wrap_script

is_asset

labels

licenses

native_libs

within_view


prebuilt_ocaml_library

def prebuilt_ocaml_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
bytecode_c_libs: [str.type] = None,
bytecode_lib: [None, str.type] = None,
bytecode_only: bool.type = None,
c_libs: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
include_dir: [None, str.type] = None,
labels: [str.type] = None,
lib_dir: str.type = None,
lib_name: str.type = None,
licenses: [str.type] = None,
native_c_libs: [str.type] = None,
native_lib: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

bytecode_c_libs

bytecode_lib

bytecode_only

c_libs

contacts

default_host_platform

deps

include_dir

labels

lib_dir

lib_name

licenses

native_c_libs

native_lib

platform_deps

within_view


prebuilt_python_library

def prebuilt_python_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_create_manifest_for_source_dir: str.type = None,
_extract: default_only = None,
_python_toolchain: default_only = None,
binary_src: str.type,
compile: bool.type = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exclude_deps_from_merged_linking: bool.type = None,
ignore_compile_errors: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_create_manifest_for_source_dir

_extract

_python_toolchain

binary_src

compile

contacts

default_host_platform

deps

exclude_deps_from_merged_linking

ignore_compile_errors

labels

licenses

within_view


prebuilt_rust_library

def prebuilt_rust_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_rust_toolchain: default_only = None,
contacts: [str.type] = None,
crate: str.type = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_style: [None, str.type] = None,
platform_deps: [(str.type, [str.type])] = None,
proc_macro: bool.type = None,
rlib: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_toolchain

_rust_toolchain

contacts

crate

default_host_platform

deps

labels

licenses

link_style

platform_deps

proc_macro

rlib

within_view


print

def print(*args: UNKNOWN) -> None

provider

def provider(doc: str.type = None, fields: [[str.type], {str.type: str.type}]) -> "provider_callable"

python : UNKNOWN


python_binary

def python_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_create_manifest_for_source_dir: str.type = None,
_cxx_hacks: default_only = None,
_cxx_toolchain: default_only = None,
_exec_os_type: default_only = None,
_omnibus_environment: [None, str.type] = None,
_package_remotely: bool.type = None,
_python_toolchain: default_only = None,
_target_os_type: default_only = None,
allow_huge_dwp: bool.type = None,
auto_link_groups: default_only = None,
base_module: [None, str.type] = None,
binary_linker_flags: default_only = None,
bolt_flags: default_only = None,
bolt_gdb_index: default_only = None,
bolt_profile: default_only = None,
build_args: [str.type] = None,
compile: [None, bool.type] = None,
compiler_flags: default_only = None,
contacts: [str.type] = None,
cxx_main: str.type = None,
cxx_platform: [None, str.type] = None,
cxx_runtime_type: default_only = None,
deduplicate_merged_link_roots: [None, bool.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: default_only = None,
defaults: default_only = None,
deps: [str.type] = None,
deps_query: default_only = None,
devirt_enabled: default_only = None,
dummy_omnibus: [None, str.type] = None,
enable_distributed_thinlto: bool.type = None,
executable_deps: [str.type] = None,
executable_name: [None, str.type] = None,
extension: [None, str.type] = None,
fat_lto: default_only = None,
focused_list_target: default_only = None,
frameworks: default_only = None,
header_namespace: default_only = None,
headers: default_only = None,
headers_as_raw_headers_mode: default_only = None,
include_directories: default_only = None,
labels: [str.type] = None,
lang_compiler_flags: default_only = None,
lang_platform_compiler_flags: default_only = None,
lang_platform_preprocessor_flags: default_only = None,
lang_preprocessor_flags: default_only = None,
libraries: default_only = None,
licenses: [str.type] = None,
link_deps_query_whole: default_only = None,
link_group: [None, str.type] = None,
link_group_map: [None, [str.type, [(str.type, [([None, str.type], str.type, [None, str.type], [None, str.type])])]]] = None,
link_style: str.type = None,
link_whole: default_only = None,
linker_extra_outputs: default_only = None,
linker_flags: [str.type] = None,
main: [None, str.type] = None,
main_module: [None, str.type] = None,
make_pex: [None, str.type] = None,
manifest_module_entries: [None, {str.type: ""}] = None,
native_link_strategy: [None, str.type] = None,
package_split_dwarf_dwp: bool.type = None,
package_style: [None, str.type] = None,
par_style: [None, str.type] = None,
platform: [None, str.type] = None,
platform_compiler_flags: default_only = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: default_only = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preload_deps: [(str.type, [str.type])] = None,
platform_preprocessor_flags: default_only = None,
platform_srcs: default_only = None,
post_linker_flags: default_only = None,
post_platform_linker_flags: default_only = None,
precompiled_header: default_only = None,
prefer_stripped_native_objects: bool.type = None,
prefer_stripped_objects: default_only = None,
prefix_header: default_only = None,
preload_deps: [str.type] = None,
preprocessor_flags: default_only = None,
raw_headers: default_only = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
static_extension_finder: str.type = None,
static_extension_utils: str.type = None,
thin_lto: default_only = None,
version_universe: [None, str.type] = None,
weak_framework_names: default_only = None,
within_view: [None, [None, [str.type]]] = None,
zip_safe: [None, bool.type] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_create_manifest_for_source_dir

_cxx_hacks

_cxx_toolchain

_exec_os_type

_omnibus_environment

_package_remotely

_python_toolchain

_target_os_type

allow_huge_dwp

auto_link_groups

base_module

binary_linker_flags

bolt_flags

bolt_gdb_index

bolt_profile

build_args

compile

compiler_flags

contacts

cxx_main

cxx_platform

cxx_runtime_type

deduplicate_merged_link_roots

default_host_platform

default_platform

defaults

deps

deps_query

devirt_enabled

dummy_omnibus

enable_distributed_thinlto

executable_deps

executable_name

extension

fat_lto

focused_list_target

frameworks

header_namespace

headers

headers_as_raw_headers_mode

include_directories

labels

lang_compiler_flags

lang_platform_compiler_flags

lang_platform_preprocessor_flags

lang_preprocessor_flags

libraries

licenses

link_deps_query_whole

link_group

link_group_map

link_style

link_whole

linker_extra_outputs

linker_flags

main

main_module

make_pex

manifest_module_entries

native_link_strategy

package_split_dwarf_dwp

package_style

par_style

platform

platform_compiler_flags

platform_deps

platform_headers

platform_linker_flags

platform_preload_deps

platform_preprocessor_flags

platform_srcs

post_linker_flags

post_platform_linker_flags

precompiled_header

prefer_stripped_native_objects

prefer_stripped_objects

prefix_header

preload_deps

preprocessor_flags

raw_headers

resources

static_extension_finder

static_extension_utils

thin_lto

version_universe

weak_framework_names

within_view

zip_safe


python_bootstrap_binary

def python_bootstrap_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_exec_os_type: default_only = None,
_python_bootstrap_toolchain: default_only = None,
_win_python_wrapper: default_only = None,
deps: [str.type] = None,
main: str.type
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_exec_os_type

_python_bootstrap_toolchain

_win_python_wrapper

deps

main


python_bootstrap_library

def python_bootstrap_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
srcs: [str.type]
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

srcs


python_library

def python_library(srcs: UNKNOWN = None, versioned_srcs: UNKNOWN = None, resources: UNKNOWN = None, versioned_resources: UNKNOWN = None, **kwargs: UNKNOWN) -> UNKNOWN

python_needed_coverage_test

def python_needed_coverage_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_inject_test_env: default_only = None,
contacts: [str.type] = None,
env: {str.type: str.type} = None,
labels: [str.type] = None,
needed_coverage: [(int.type, str.type, [None, str.type])] = None,
remote_execution: [None, {str.type: str.type}] = None,
test: str.type
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_inject_test_env

contacts

env

labels

needed_coverage

remote_execution

test


python_test

def python_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_create_manifest_for_source_dir: str.type = None,
_cxx_hacks: default_only = None,
_cxx_toolchain: default_only = None,
_exec_os_type: default_only = None,
_inject_test_env: default_only = None,
_omnibus_environment: [None, str.type] = None,
_python_toolchain: default_only = None,
_target_os_type: default_only = None,
_test_main: str.type = None,
additional_coverage_targets: [str.type] = None,
allow_huge_dwp: bool.type = None,
auto_link_groups: default_only = None,
base_module: [None, str.type] = None,
binary_linker_flags: default_only = None,
bolt_flags: default_only = None,
bolt_gdb_index: default_only = None,
bolt_profile: default_only = None,
build_args: [str.type] = None,
compile: [None, bool.type] = None,
compiler_flags: default_only = None,
contacts: [str.type] = None,
cxx_main: str.type = None,
cxx_platform: [None, str.type] = None,
cxx_runtime_type: default_only = None,
deduplicate_merged_link_roots: [None, bool.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: default_only = None,
defaults: default_only = None,
deps: [str.type] = None,
deps_query: default_only = None,
devirt_enabled: default_only = None,
dummy_omnibus: [None, str.type] = None,
enable_distributed_thinlto: bool.type = None,
env: {str.type: str.type} = None,
exclude_deps_from_merged_linking: bool.type = None,
executable_deps: [str.type] = None,
executable_name: [None, str.type] = None,
extension: [None, str.type] = None,
fat_lto: default_only = None,
focused_list_target: default_only = None,
frameworks: default_only = None,
header_namespace: default_only = None,
headers: default_only = None,
headers_as_raw_headers_mode: default_only = None,
include_directories: default_only = None,
labels: [str.type] = None,
lang_compiler_flags: default_only = None,
lang_platform_compiler_flags: default_only = None,
lang_platform_preprocessor_flags: default_only = None,
lang_preprocessor_flags: default_only = None,
libraries: default_only = None,
licenses: [str.type] = None,
link_deps_query_whole: default_only = None,
link_group: [None, str.type] = None,
link_group_map: [None, [str.type, [(str.type, [([None, str.type], str.type, [None, str.type], [None, str.type])])]]] = None,
link_style: default_only = None,
link_whole: default_only = None,
linker_extra_outputs: default_only = None,
linker_flags: [str.type] = None,
main_module: [None, str.type] = None,
make_pex: [None, str.type] = None,
manifest_module_entries: [None, {str.type: ""}] = None,
native_link_strategy: [None, str.type] = None,
needed_coverage: [(int.type, str.type, [None, str.type])] = None,
package_split_dwarf_dwp: bool.type = None,
package_style: [None, str.type] = None,
par_style: [None, str.type] = None,
platform: [None, str.type] = None,
platform_compiler_flags: default_only = None,
platform_deps: [(str.type, [str.type])] = None,
platform_headers: default_only = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_preload_deps: [(str.type, [str.type])] = None,
platform_preprocessor_flags: default_only = None,
platform_resources: [(str.type, [{str.type: str.type}, [str.type]])] = None,
platform_srcs: default_only = None,
post_linker_flags: default_only = None,
post_platform_linker_flags: default_only = None,
precompiled_header: default_only = None,
prefer_stripped_native_objects: bool.type = None,
prefer_stripped_objects: default_only = None,
prefix_header: default_only = None,
preload_deps: [str.type] = None,
preprocessor_flags: default_only = None,
raw_headers: default_only = None,
remote_execution: [None, {str.type: str.type}] = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
runner: [None, str.type] = None,
specs: [None, str.type] = None,
srcs: [{str.type: str.type}, [str.type]] = None,
static_extension_finder: str.type = None,
static_extension_utils: str.type = None,
test_rule_timeout_ms: [None, int.type] = None,
thin_lto: default_only = None,
version_universe: [None, str.type] = None,
versioned_resources: [None, [({str.type: str.type}, [{str.type: str.type}, [str.type]])]] = None,
versioned_srcs: [None, [({str.type: str.type}, [{str.type: str.type}, [str.type]])]] = None,
weak_framework_names: default_only = None,
within_view: [None, [None, [str.type]]] = None,
zip_safe: [None, bool.type] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_create_manifest_for_source_dir

_cxx_hacks

_cxx_toolchain

_exec_os_type

_inject_test_env

_omnibus_environment

_python_toolchain

_target_os_type

_test_main

additional_coverage_targets

allow_huge_dwp

auto_link_groups

base_module

binary_linker_flags

bolt_flags

bolt_gdb_index

bolt_profile

build_args

compile

compiler_flags

contacts

cxx_main

cxx_platform

cxx_runtime_type

deduplicate_merged_link_roots

default_host_platform

default_platform

defaults

deps

deps_query

devirt_enabled

dummy_omnibus

enable_distributed_thinlto

env

exclude_deps_from_merged_linking

executable_deps

executable_name

extension

fat_lto

focused_list_target

frameworks

header_namespace

headers

headers_as_raw_headers_mode

include_directories

labels

lang_compiler_flags

lang_platform_compiler_flags

lang_platform_preprocessor_flags

lang_preprocessor_flags

libraries

licenses

link_deps_query_whole

link_group

link_group_map

link_style

link_whole

linker_extra_outputs

linker_flags

main_module

make_pex

manifest_module_entries

native_link_strategy

needed_coverage

package_split_dwarf_dwp

package_style

par_style

platform

platform_compiler_flags

platform_deps

platform_headers

platform_linker_flags

platform_preload_deps

platform_preprocessor_flags

platform_resources

platform_srcs

post_linker_flags

post_platform_linker_flags

precompiled_header

prefer_stripped_native_objects

prefer_stripped_objects

prefix_header

preload_deps

preprocessor_flags

raw_headers

remote_execution

resources

runner

specs

srcs

static_extension_finder

static_extension_utils

test_rule_timeout_ms

thin_lto

version_universe

versioned_resources

versioned_srcs

weak_framework_names

within_view

zip_safe


python_test_runner

def python_test_runner(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
main_module: str.type = None,
src: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

labels

licenses

main_module

src

within_view


read_config

def read_config(section: str.type, key: str.type, default: [None, ""] = None) -> ""

read_package_value

def read_package_value(key: str.type) -> ""

Read value specified in the PACKAGE file.

Details

Returns None if value is not set.


read_root_config

def read_root_config(section: str.type, key: str.type, default: [None, str.type] = None) -> [None, str.type]

record

def record(**kwargs: {str.type: ""}) -> "function"

regex_match

def regex_match(regex: str.type, str: str.type) -> bool.type

remote_file

def remote_file(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_unzip_tool: default_only = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
out: [None, str.type] = None,
sha1: [None, str.type] = None,
sha256: [None, str.type] = None,
type: [None, str.type] = None,
url: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_unzip_tool

contacts

default_host_platform

labels

licenses

out

sha1

sha256

type

url

within_view


repository_name

def repository_name() -> str.type

resource_group_map

def resource_group_map(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
map: [(str.type, [(str.type, str.type, [None, str.type])])]
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

map


robolectric_test

def robolectric_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_android_toolchain: str.type = None,
_build_only_native_code: default_only = None,
_inject_test_env: default_only = None,
_is_building_android_binary: default_only = None,
_java_test_toolchain: default_only = None,
_java_toolchain: str.type = None,
_kotlin_toolchain: str.type = None,
abi_generation_mode: [None, str.type] = None,
annotation_processing_tool: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
cxx_library_whitelist: [str.type] = None,
default_cxx_platform: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
env: {str.type: str.type} = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
extra_kotlinc_arguments: [str.type] = None,
fork_mode: str.type = None,
friend_paths: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
kotlin_compiler_plugins: {str.type: {str.type: str.type}} = None,
labels: [str.type] = None,
language: [None, str.type] = None,
licenses: [str.type] = None,
locales_for_binary_resources: [str.type] = None,
manifest_entries: {str.type: ""} = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
preferred_density_for_binary_resources: [None, str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resource_union_package: [None, str.type] = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
robolectric_manifest: str.type,
robolectric_runtime_dependencies: [str.type] = None,
robolectric_runtime_dependency: [None, str.type] = None,
run_test_separately: bool.type = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
std_err_log_level: [None, [str.type, int.type]] = None,
std_out_log_level: [None, [str.type, int.type]] = None,
target: [None, str.type] = None,
test_case_timeout_ms: [None, int.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
test_type: [None, str.type] = None,
use_cxx_libraries: [None, bool.type] = None,
use_dependency_order_classpath: [None, bool.type] = None,
use_jvm_abi_gen: [None, bool.type] = None,
vm_args: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_android_toolchain

_build_only_native_code

_inject_test_env

_is_building_android_binary

_java_test_toolchain

_java_toolchain

_kotlin_toolchain

abi_generation_mode

annotation_processing_tool

annotation_processor_deps

annotation_processor_params

annotation_processors

contacts

cxx_library_whitelist

default_cxx_platform

default_host_platform

deps

deps_query

env

exported_deps

exported_provided_deps

extra_arguments

extra_kotlinc_arguments

fork_mode

friend_paths

java_version

javac

kotlin_compiler_plugins

labels

language

licenses

locales_for_binary_resources

manifest_entries

manifest_file

maven_coords

never_mark_as_unused_dependency

on_unused_dependencies

plugins

preferred_density_for_binary_resources

proguard_config

provided_deps

remove_classes

required_for_source_only_abi

resource_union_package

resources

resources_root

robolectric_manifest

robolectric_runtime_dependencies

robolectric_runtime_dependency

run_test_separately

runtime_deps

source

source_abi_verification_mode

source_only_abi_deps

srcs

std_err_log_level

std_out_log_level

target

test_case_timeout_ms

test_rule_timeout_ms

test_type

use_cxx_libraries

use_dependency_order_classpath

use_jvm_abi_gen

vm_args

within_view


rule

def rule(
*,
impl: "",
attrs: {str.type: "attribute"},
cfg: [None, ""] = None,
doc: str.type = None,
is_configuration_rule: bool.type = None,
is_toolchain_rule: bool.type = None
) -> ""

rule_exists

def rule_exists(name: str.type) -> bool.type

This should be called "target exists", not "rule exists" (if this should exist at all).


rust_binary

def rust_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_exec_os_type: default_only = None,
_rust_toolchain: default_only = None,
_target_os_type: default_only = None,
contacts: [str.type] = None,
crate: [None, str.type] = None,
crate_root: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
deps: [str.type] = None,
edition: [None, str.type] = None,
env: {str.type: str.type} = None,
features: [str.type] = None,
flagged_deps: [(str.type, [str.type])] = None,
framework: bool.type = None,
incremental_build_mode: [None, str.type] = None,
incremental_enabled: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_style: [None, str.type] = None,
linker_flags: [str.type] = None,
mapped_srcs: {str.type: str.type} = None,
named_deps: {str.type: str.type} = None,
platform_deps: [(str.type, [str.type])] = None,
platform_flagged_deps: [(str.type, [(str.type, [str.type])])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_rustc_flags: {str.type: [str.type]} = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
rpath: bool.type = None,
rustc_flags: [str.type] = None,
rustdoc_flags: [str.type] = None,
srcs: [str.type] = None,
version_universe: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_toolchain

_exec_os_type

_rust_toolchain

_target_os_type

contacts

crate

crate_root

default_host_platform

default_platform

deps

edition

env

features

flagged_deps

framework

incremental_build_mode

incremental_enabled

labels

licenses

link_style

linker_flags

mapped_srcs

named_deps

platform_deps

platform_flagged_deps

platform_linker_flags

platform_rustc_flags

resources

rpath

rustc_flags

rustdoc_flags

srcs

version_universe

within_view


rust_library

def rust_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_exec_os_type: default_only = None,
_omnibus_environment: [None, str.type] = None,
_rust_toolchain: default_only = None,
_target_os_type: default_only = None,
contacts: [str.type] = None,
crate: [None, str.type] = None,
crate_root: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
deps: [str.type] = None,
doc_deps: [str.type] = None,
doc_linker_flags: [str.type] = None,
doc_named_deps: {str.type: str.type} = None,
doc_platform_deps: [(str.type, [str.type])] = None,
doc_platform_linker_flags: [(str.type, [str.type])] = None,
doctests: bool.type = None,
edition: [None, str.type] = None,
env: {str.type: str.type} = None,
features: [str.type] = None,
flagged_deps: [(str.type, [str.type])] = None,
incremental_build_mode: [None, str.type] = None,
incremental_enabled: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
linker_flags: [str.type] = None,
mapped_srcs: {str.type: str.type} = None,
named_deps: {str.type: str.type} = None,
platform_deps: [(str.type, [str.type])] = None,
platform_flagged_deps: [(str.type, [(str.type, [str.type])])] = None,
platform_rustc_flags: {str.type: [str.type]} = None,
preferred_linkage: str.type = None,
proc_macro: bool.type = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
rustc_flags: [str.type] = None,
rustdoc_flags: [str.type] = None,
srcs: [str.type] = None,
supports_python_dlopen: [None, bool.type] = None,
version_universe: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_toolchain

_exec_os_type

_omnibus_environment

_rust_toolchain

_target_os_type

contacts

crate

crate_root

default_host_platform

default_platform

deps

doc_deps

doc_linker_flags

doc_named_deps

doc_platform_deps

doc_platform_linker_flags

doctests

edition

env

features

flagged_deps

incremental_build_mode

incremental_enabled

labels

licenses

linker_flags

mapped_srcs

named_deps

platform_deps

platform_flagged_deps

platform_rustc_flags

preferred_linkage

proc_macro

resources

rustc_flags

rustdoc_flags

srcs

supports_python_dlopen

version_universe

within_view


rust_test

def rust_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_cxx_toolchain: default_only = None,
_exec_os_type: default_only = None,
_inject_test_env: default_only = None,
_rust_toolchain: default_only = None,
_target_os_type: default_only = None,
contacts: [str.type] = None,
crate: [None, str.type] = None,
crate_root: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
default_platform: [None, str.type] = None,
deps: [str.type] = None,
edition: [None, str.type] = None,
env: {str.type: str.type} = None,
features: [str.type] = None,
flagged_deps: [(str.type, [str.type])] = None,
framework: bool.type = None,
incremental_build_mode: [None, str.type] = None,
incremental_enabled: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
link_style: [None, str.type] = None,
linker_flags: [str.type] = None,
mapped_srcs: {str.type: str.type} = None,
named_deps: {str.type: str.type} = None,
platform_deps: [(str.type, [str.type])] = None,
platform_flagged_deps: [(str.type, [(str.type, [str.type])])] = None,
platform_linker_flags: [(str.type, [str.type])] = None,
platform_rustc_flags: {str.type: [str.type]} = None,
remote_execution: [None, {str.type: str.type}] = None,
resources: [{str.type: [str.type, str.type]}, [[str.type, str.type]]] = None,
rpath: bool.type = None,
rustc_flags: [str.type] = None,
rustdoc_flags: [str.type] = None,
srcs: [str.type] = None,
version_universe: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_cxx_toolchain

_exec_os_type

_inject_test_env

_rust_toolchain

_target_os_type

contacts

crate

crate_root

default_host_platform

default_platform

deps

edition

env

features

flagged_deps

framework

incremental_build_mode

incremental_enabled

labels

licenses

link_style

linker_flags

mapped_srcs

named_deps

platform_deps

platform_flagged_deps

platform_linker_flags

platform_rustc_flags

remote_execution

resources

rpath

rustc_flags

rustdoc_flags

srcs

version_universe

within_view


scala_library

def scala_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
abi_generation_mode: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
target: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

abi_generation_mode

annotation_processor_deps

annotation_processor_params

annotation_processors

contacts

default_host_platform

deps

exported_deps

exported_provided_deps

extra_arguments

java_version

javac

labels

licenses

manifest_file

maven_coords

never_mark_as_unused_dependency

on_unused_dependencies

plugins

proguard_config

provided_deps

remove_classes

required_for_source_only_abi

resources

resources_root

runtime_deps

source

source_abi_verification_mode

source_only_abi_deps

srcs

target

within_view


scala_test

def scala_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
abi_generation_mode: [None, str.type] = None,
annotation_processor_deps: [str.type] = None,
annotation_processor_params: [str.type] = None,
annotation_processors: [str.type] = None,
contacts: [str.type] = None,
cxx_library_whitelist: [str.type] = None,
default_cxx_platform: [None, str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
deps_query: [None, str.type] = None,
env: {str.type: str.type} = None,
exported_deps: [str.type] = None,
exported_provided_deps: [str.type] = None,
extra_arguments: [str.type] = None,
fork_mode: str.type = None,
java_version: [None, str.type] = None,
javac: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
manifest_file: [None, str.type] = None,
maven_coords: [None, str.type] = None,
never_mark_as_unused_dependency: [None, bool.type] = None,
on_unused_dependencies: [None, str.type] = None,
plugins: [str.type] = None,
proguard_config: [None, str.type] = None,
provided_deps: [str.type] = None,
remove_classes: [str.type] = None,
required_for_source_only_abi: bool.type = None,
resources: [str.type] = None,
resources_root: [None, str.type] = None,
run_test_separately: bool.type = None,
runtime_deps: [str.type] = None,
source: [None, str.type] = None,
source_abi_verification_mode: [None, str.type] = None,
source_only_abi_deps: [str.type] = None,
srcs: [str.type] = None,
std_err_log_level: [None, [str.type, int.type]] = None,
std_out_log_level: [None, [str.type, int.type]] = None,
target: [None, str.type] = None,
test_case_timeout_ms: [None, int.type] = None,
test_rule_timeout_ms: [None, int.type] = None,
test_type: [None, str.type] = None,
use_cxx_libraries: [None, bool.type] = None,
use_dependency_order_classpath: [None, bool.type] = None,
vm_args: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

abi_generation_mode

annotation_processor_deps

annotation_processor_params

annotation_processors

contacts

cxx_library_whitelist

default_cxx_platform

default_host_platform

deps

deps_query

env

exported_deps

exported_provided_deps

extra_arguments

fork_mode

java_version

javac

labels

licenses

manifest_file

maven_coords

never_mark_as_unused_dependency

on_unused_dependencies

plugins

proguard_config

provided_deps

remove_classes

required_for_source_only_abi

resources

resources_root

run_test_separately

runtime_deps

source

source_abi_verification_mode

source_only_abi_deps

srcs

std_err_log_level

std_out_log_level

target

test_case_timeout_ms

test_rule_timeout_ms

test_type

use_cxx_libraries

use_dependency_order_classpath

vm_args

within_view


scene_kit_assets

def scene_kit_assets(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
path: str.type,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

labels

licenses

path

within_view


select

def select(d: "") -> "selector"

select_equal_internal

def select_equal_internal(left: "", right: "") -> bool.type

Tests that two selects are equal to each other. For testing use only.


select_map

def select_map(d: "", func: "") -> ""

Applies a mapping function to a selector. See [StarlarkSelector::select_map].


select_test

def select_test(d: "", func: "") -> bool.type

Applies a test function to a selector. See [StarlarkSelector::select_test].


sh_binary

def sh_binary(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_target_os_type: default_only = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
main: str.type,
resources: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_target_os_type

contacts

default_host_platform

deps

labels

licenses

main

resources

within_view


sh_test

def sh_test(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_inject_test_env: default_only = None,
args: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
env: {str.type: str.type} = None,
labels: [str.type] = None,
licenses: [str.type] = None,
list_args: [None, [str.type]] = None,
list_env: [None, {str.type: str.type}] = None,
resources: [str.type] = None,
run_args: [str.type] = None,
run_env: {str.type: str.type} = None,
run_test_separately: bool.type = None,
test: [None, [str.type, str.type]] = None,
test_rule_timeout_ms: [None, int.type] = None,
type: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_inject_test_env

args

contacts

default_host_platform

deps

env

labels

licenses

list_args

list_env

resources

run_args

run_env

run_test_separately

test

test_rule_timeout_ms

type

within_view


sha256

def sha256(val: str.type) -> str.type

Computes a sha256 digest for a string. Returns the hex representation of the digest.


struct

def struct(*args: UNKNOWN, **kwargs: UNKNOWN) -> "struct"

supermodule_target_graph

def supermodule_target_graph(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
label_pattern: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
on_duplicate_entry: str.type = None,
out: str.type = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

deps

label_pattern

labels

licenses

on_duplicate_entry

out

within_view


swift_library

def swift_library(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
bridging_header: [None, str.type] = None,
compiler_flags: [str.type] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
deps: [str.type] = None,
enable_cxx_interop: bool.type = None,
frameworks: [str.type] = None,
labels: [str.type] = None,
libraries: [str.type] = None,
licenses: [str.type] = None,
module_name: [None, str.type] = None,
preferred_linkage: str.type = None,
sdk_modules: [str.type] = None,
serialize_debugging_options: bool.type = None,
soname: [None, str.type] = None,
srcs: [str.type] = None,
supported_platforms_regex: [None, str.type] = None,
target_sdk_version: [None, str.type] = None,
uses_explicit_modules: bool.type = None,
version: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

bridging_header

compiler_flags

contacts

default_host_platform

deps

enable_cxx_interop

frameworks

labels

libraries

licenses

module_name

preferred_linkage

sdk_modules

serialize_debugging_options

soname

srcs

supported_platforms_regex

target_sdk_version

uses_explicit_modules

version

within_view


swift_toolchain

def swift_toolchain(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_internal_platform_path: [None, str.type] = None,
_internal_sdk_path: [None, str.type] = None,
_swiftc_wrapper: str.type = None,
architecture: [None, str.type] = None,
can_toolchain_emit_obj_c_header_textually: bool.type = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
explicit_modules_uses_gmodules: bool.type = None,
labels: [str.type] = None,
licenses: [str.type] = None,
platform_path: [None, str.type] = None,
prefix_serialized_debug_info: bool.type = None,
resource_dir: [None, str.type] = None,
runtime_paths_for_bundling: [str.type] = None,
runtime_paths_for_linking: [str.type] = None,
runtime_run_paths: [str.type] = None,
sdk_dependencies_path: [None, str.type] = None,
sdk_modules: [str.type] = None,
sdk_path: [None, str.type] = None,
static_runtime_paths: [str.type] = None,
swift_stdlib_tool: str.type,
swift_stdlib_tool_flags: [str.type] = None,
swiftc: str.type,
swiftc_flags: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_internal_platform_path

_internal_sdk_path

_swiftc_wrapper

architecture

can_toolchain_emit_obj_c_header_textually

contacts

default_host_platform

explicit_modules_uses_gmodules

labels

licenses

platform_path

prefix_serialized_debug_info

resource_dir

runtime_paths_for_bundling

runtime_paths_for_linking

runtime_run_paths

sdk_dependencies_path

sdk_modules

sdk_path

static_runtime_paths

swift_stdlib_tool

swift_stdlib_tool_flags

swiftc

swiftc_flags

within_view


test_suite

def test_suite(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
test_deps: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

contacts

default_host_platform

labels

licenses

test_deps

within_view


transition

def transition(*, impl: "", refs: {str.type: str.type}, attrs: [None, [str.type]] = None, split: bool.type = None) -> "transition"

transitive_set

def transitive_set(args_projections: [None, {str.type: ""}] = None, json_projections: [None, {str.type: ""}] = None, reductions: [None, {str.type: ""}] = None) -> "transitive_set_definition"

versioned_alias

def versioned_alias(versions: UNKNOWN = {}, **kwargs: UNKNOWN) -> UNKNOWN

warning

def warning(x: str.type) -> None

Produce a warning.


worker_tool

def worker_tool(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_worker_tool_runner: default_only = None,
args: [str.type, [str.type]] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
env: {str.type: str.type} = None,
exe: [None, str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
max_workers: [None, int.type] = None,
max_workers_per_thread_percent: [None, int.type] = None,
persistent: [None, bool.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_worker_tool_runner

args

contacts

default_host_platform

env

exe

labels

licenses

max_workers

max_workers_per_thread_percent

persistent

within_view


write_package_value

def write_package_value(key: str.type, value: "", *, overwrite: bool.type = None) -> None

Set the value to be accessible in the nested PACKAGE files.


xcode_postbuild_script

def xcode_postbuild_script(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
cmd: str.type = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
input_file_lists: [str.type] = None,
inputs: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
output_file_lists: [str.type] = None,
outputs: [str.type] = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

cmd

contacts

default_host_platform

input_file_lists

inputs

labels

licenses

output_file_lists

outputs

srcs

within_view


xcode_prebuild_script

def xcode_prebuild_script(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
cmd: str.type = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
input_file_lists: [str.type] = None,
inputs: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
output_file_lists: [str.type] = None,
outputs: [str.type] = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

cmd

contacts

default_host_platform

input_file_lists

inputs

labels

licenses

output_file_lists

outputs

srcs

within_view


xcode_workspace_config

def xcode_workspace_config(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
action_config_names: {str.type: str.type} = None,
additional_scheme_actions: [None, {str.type: {str.type: [str.type]}}] = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
environment_variables: [None, {str.type: {str.type: str.type}}] = None,
explicit_runnable_path: [None, str.type] = None,
extra_schemes: {str.type: str.type} = None,
extra_shallow_targets: [str.type] = None,
extra_targets: [str.type] = None,
extra_tests: [str.type] = None,
is_remote_runnable: [None, bool.type] = None,
labels: [str.type] = None,
launch_style: [None, str.type] = None,
licenses: [str.type] = None,
notification_payload_file: [None, str.type] = None,
src_target: [None, str.type] = None,
was_created_for_app_extension: [None, bool.type] = None,
watch_interface: [None, str.type] = None,
within_view: [None, [None, [str.type]]] = None,
workspace_name: [None, str.type] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

action_config_names

additional_scheme_actions

contacts

default_host_platform

environment_variables

explicit_runnable_path

extra_schemes

extra_shallow_targets

extra_targets

extra_tests

is_remote_runnable

labels

launch_style

licenses

notification_payload_file

src_target

was_created_for_app_extension

watch_interface

within_view

workspace_name


zip_file

def zip_file(
*,
name: str.type,
default_target_platform: [None, str.type] = None,
target_compatible_with: [str.type] = None,
compatible_with: [str.type] = None,
exec_compatible_with: [str.type] = None,
visibility: [str.type] = None,
tests: [label] = None,
_zip_file_toolchain: default_only = None,
contacts: [str.type] = None,
default_host_platform: [None, str.type] = None,
entries_to_exclude: [str.type] = None,
labels: [str.type] = None,
licenses: [str.type] = None,
on_duplicate_entry: str.type = None,
out: str.type = None,
srcs: [str.type] = None,
within_view: [None, [None, [str.type]]] = None,
zip_srcs: [str.type] = None
) -> None

Parameters

NameDetails

name

name of the target

default_target_platform

specifies the default target platform, used when no platforms are specified on the command line

target_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with a configuration

exec_compatible_with

a list of constraints that are required to be satisfied for this target to be compatible with an execution platform

visibility

a list of visibility patterns restricting what targets can depend on this one

tests

a list of targets that provide tests for this one

_zip_file_toolchain

contacts

default_host_platform

entries_to_exclude

labels

licenses

on_duplicate_entry

out

srcs

within_view

zip_srcs